syntex-logger
Advanced tools
Comparing version 1.0.7-b7 to 1.0.7-b8
16
main.js
@@ -138,4 +138,16 @@ let LanguageSwitcher = require('./language_manager'); | ||
console.log('[' + prefix + '] ' + color + '[' + level.toUpperCase() + ']\x1b[0m', ...messages); | ||
if(level == 'error') | ||
{ | ||
console.log('[' + prefix + '] ' + color + '[' + level.toUpperCase() + ']\x1b[0m', messages[0]); | ||
for(var i = 1; i < messages.length; i++) | ||
{ | ||
console.log(messages[i]); | ||
} | ||
} | ||
else | ||
{ | ||
console.log('[' + prefix + '] ' + color + '[' + level.toUpperCase() + ']\x1b[0m', ...messages); | ||
} | ||
saveLog(level[0].toUpperCase() + level.substring(1), id, letters, Math.round(new Date().getTime() / 1000), messages); | ||
@@ -142,0 +154,0 @@ } |
{ | ||
"name": "syntex-logger", | ||
"version": "1.0.7-b7", | ||
"version": "1.0.7-b8", | ||
"description": "A Basic Logging System", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
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
22965
506