@gradientedge/logger
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -10,2 +10,3 @@ "use strict"; | ||
const json_stringify_safe_1 = __importDefault(require("json-stringify-safe")); | ||
const node_console_1 = require("node:console"); | ||
class Logger { | ||
@@ -26,3 +27,6 @@ constructor(options) { | ||
else { | ||
this.transport = Object.assign({}, console); | ||
this.transport = new node_console_1.Console({ | ||
stdout: process.stdout, | ||
stderr: process.stderr, | ||
}); | ||
} | ||
@@ -29,0 +33,0 @@ } |
@@ -5,3 +5,3 @@ /** | ||
*/ | ||
export declare function maskSensitiveData(data: unknown): unknown; | ||
export declare function maskSensitiveData(data: unknown): {} | null | undefined; | ||
//# sourceMappingURL=mask.d.ts.map |
{ | ||
"name": "@gradientedge/logger", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Request-context sensitive logger package", | ||
@@ -5,0 +5,0 @@ "author": "Jimmy Thomson <jimmy@gradientedge.com>", |
Sorry, the diff of this file is not supported yet
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
33923
405