@goldstack/utils-log
Advanced tools
Comparing version 0.3.10 to 0.3.11
export declare function debug(msg: string): void; | ||
export declare function info(msg: string): void; | ||
export declare function info(msg: string, properties?: { | ||
[key: string]: any; | ||
}): void; | ||
export declare function warn(msg: string, properties?: { | ||
[key: string]: any; | ||
}): void; | ||
export declare function error(msg: string): void; | ||
export declare const fatal: (msg: string) => void; | ||
//# sourceMappingURL=utilsLog.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fatal = exports.error = exports.info = exports.debug = void 0; | ||
exports.fatal = exports.error = exports.warn = exports.info = exports.debug = void 0; | ||
const utils_cli_1 = require("@goldstack/utils-cli"); | ||
@@ -10,6 +10,10 @@ const isDebug = process.env.GOLDSTACK_DEBUG || process.env.DEBUG; | ||
exports.debug = debug; | ||
function info(msg) { | ||
(0, utils_cli_1.logger)().info(msg); | ||
function info(msg, properties) { | ||
(0, utils_cli_1.logger)().info(properties, msg); | ||
} | ||
exports.info = info; | ||
function warn(msg, properties) { | ||
(0, utils_cli_1.logger)().warn(properties, msg); | ||
} | ||
exports.warn = warn; | ||
function error(msg) { | ||
@@ -16,0 +20,0 @@ (0, utils_cli_1.logger)().error(msg); |
{ | ||
"name": "@goldstack/utils-log", | ||
"version": "0.3.10", | ||
"version": "0.3.11", | ||
"description": "Utilities for emitting logs.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4474
38