"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var currentYear = new Date(Date.now()).getFullYear();
exports.logVersion = function (message, copyrightStartYear) {
    //skip for node or worker environments
    if (typeof window === "undefined") {
        return;
    }
    var finalMessage = message;
    if (copyrightStartYear !== undefined) {
        var yearRange = copyrightStartYear === currentYear
            ? copyrightStartYear
            : copyrightStartYear + " - " + currentYear;
        finalMessage += ". Copyright (C) " + yearRange + " intelligentgraphics. All Rights Reserved.";
    }
    console.log(finalMessage);
};
