UNPKG

@microsoft/windows-admin-center-sdk

Version:

Microsoft - Windows Admin Center Shell

25 lines (23 loc) 644 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Logger = void 0; class Logger { /** * the log function. * @param value the string value to log. * @param prefix the prefix to log. */ static log(value, prefix = 'Main thread') { console.log(`${prefix} - ${value}`); } /** * the error function. * @param value the string value to log. * @param prefix the prefix to log. */ static error(value, prefix = 'Angular15UpgradeError') { console.log(`${prefix} - ${value}`); } } exports.Logger = Logger; //# sourceMappingURL=logger.js.map