@meteor-it/logger
Advanced tools
Comparing version 0.1.1 to 0.1.2
28
index.js
@@ -6,2 +6,3 @@ "use strict"; | ||
const utils_common_1 = require("@meteor-it/utils-common"); | ||
const reflection_1 = require("@meteor-it/reflection"); | ||
const LOG_TRACE = (platform_1.isBrowser ? window.localStorage.getItem('LOG_TRACE') : process.env.LOG_TRACE) || false; | ||
@@ -92,4 +93,8 @@ const DEBUG = (platform_1.isBrowser ? window.localStorage.getItem('DEBUG') : process.env.DEBUG) || '-'; | ||
} | ||
info(...args) { | ||
this.log(...args); | ||
info(...params) { | ||
this.write({ | ||
type: exports.LOGGER_ACTIONS.LOG, | ||
line: params.shift(), | ||
params: params | ||
}); | ||
} | ||
@@ -104,8 +109,5 @@ // WARNING | ||
} | ||
warn(...args) { | ||
this.warning(...args); | ||
} | ||
deprecationWarning(...params) { | ||
warn(...params) { | ||
this.write({ | ||
type: exports.LOGGER_ACTIONS.DEPRECATED, | ||
type: exports.LOGGER_ACTIONS.WARNING, | ||
line: params.shift(), | ||
@@ -122,4 +124,8 @@ params: params | ||
} | ||
err(...args) { | ||
this.error(...args); | ||
err(...params) { | ||
this.write({ | ||
type: exports.LOGGER_ACTIONS.ERROR, | ||
line: params.shift(), | ||
params: params | ||
}); | ||
} | ||
@@ -138,2 +144,4 @@ // DEBUG | ||
write(data) { | ||
if (LOG_TRACE && data.line) | ||
data.line = reflection_1.getCaller(3).toReadable() + '\n' + data.line; | ||
if (!data.time) | ||
@@ -207,2 +215,2 @@ data.time = new Date().getTime(); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImxvZ2dlci9pbmRleC5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLG9CQUFrQjtBQUNsQixrREFBcUQ7QUFDckQsMERBQTBEO0FBRTFELE1BQU0sU0FBUyxHQUFHLENBQUMsb0JBQVMsR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLE9BQU8sQ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m9yIG5vZGUgaXMgbm90IGluc3RhbGxlZCEnKTtcblx0fVxufVxuIl0sInNvdXJjZVJvb3QiOiIvc291cmNlLyJ9 |
{ | ||
"name": "@meteor-it/logger", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "I", | ||
@@ -16,10 +16,10 @@ "main": "index.js", | ||
"dependencies": { | ||
"@meteor-it/emoji": "0.0.1", | ||
"@meteor-it/platform": "0.0.1", | ||
"@meteor-it/utils-common": "0.0.1" | ||
"@meteor-it/emoji": "latest", | ||
"@meteor-it/platform": "latest", | ||
"@meteor-it/utils-common": "latest" | ||
}, | ||
"peerDependencies": {}, | ||
"optionalDependencies": { | ||
"@meteor-it/logger-receiver-browser-console": "0.0.1", | ||
"@meteor-it/logger-receiver-node-console": "0.0.1" | ||
"@meteor-it/logger-receiver-browser-console": "latest", | ||
"@meteor-it/logger-receiver-node-console": "latest" | ||
}, | ||
@@ -26,0 +26,0 @@ "repository": "gitlab:Creeplays/meteor-it-framework", |
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
31272
330
+ Added@meteor-it/emoji@1.0.22(transitive)
+ Added@meteor-it/logger@2.3.45(transitive)
+ Added@meteor-it/logger-receiver-browser-console@0.1.2(transitive)
+ Added@meteor-it/logger-receiver-node-console@0.1.2(transitive)
+ Added@meteor-it/platform@0.1.2(transitive)
+ Added@meteor-it/terminal@0.5.250.6.0(transitive)
+ Added@meteor-it/utils@1.3.332.1.0(transitive)
+ Added@meteor-it/utils-common@1.2.1(transitive)
- Removed@meteor-it/emoji@0.0.1(transitive)
- Removed@meteor-it/logger-receiver-browser-console@0.0.1(transitive)
- Removed@meteor-it/logger-receiver-node-console@0.0.1(transitive)
- Removed@meteor-it/platform@0.0.1(transitive)
- Removed@meteor-it/utils-common@0.0.1(transitive)
Updated@meteor-it/emoji@latest
Updated@meteor-it/platform@latest