@libj/logger
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -11,3 +11,2 @@ import { LoggerArg, LoggerInterface } from '../LoggerInterface'; | ||
println(message: string, ...args: LoggerArg[]): void; | ||
private newLineMessage; | ||
} |
@@ -36,3 +36,3 @@ "use strict"; | ||
} | ||
console.log(this.format(LoggerLevel_1.LoggerLevel.LOG, this.newLineMessage(message), args)); | ||
console.log(this.format(LoggerLevel_1.LoggerLevel.LOG, message, args)); | ||
}; | ||
@@ -44,3 +44,3 @@ ConsoleLogger.prototype.info = function (message) { | ||
} | ||
console.info(this.format(LoggerLevel_1.LoggerLevel.INFO, this.newLineMessage(message), args)); | ||
console.info(this.format(LoggerLevel_1.LoggerLevel.INFO, message, args)); | ||
}; | ||
@@ -52,3 +52,3 @@ ConsoleLogger.prototype.warn = function (message) { | ||
} | ||
console.warn(this.format(LoggerLevel_1.LoggerLevel.WARN, this.newLineMessage(message), args)); | ||
console.warn(this.format(LoggerLevel_1.LoggerLevel.WARN, message, args)); | ||
}; | ||
@@ -60,3 +60,3 @@ ConsoleLogger.prototype.error = function (message) { | ||
} | ||
console.error(this.format(LoggerLevel_1.LoggerLevel.ERROR, this.newLineMessage(message), args)); | ||
console.error(this.format(LoggerLevel_1.LoggerLevel.ERROR, message, args)); | ||
}; | ||
@@ -68,3 +68,3 @@ ConsoleLogger.prototype.debug = function (message) { | ||
} | ||
console.debug(this.format(LoggerLevel_1.LoggerLevel.DEBUG, this.newLineMessage(message), args)); | ||
console.debug(this.format(LoggerLevel_1.LoggerLevel.DEBUG, message, args)); | ||
}; | ||
@@ -85,3 +85,2 @@ ConsoleLogger.prototype.print = function (message) { | ||
}; | ||
ConsoleLogger.prototype.newLineMessage = function (message) { return message + "\n"; }; | ||
return ConsoleLogger; | ||
@@ -88,0 +87,0 @@ }(BaseLogger_1.BaseLogger)); |
@@ -6,3 +6,3 @@ { | ||
"name": "@libj/logger", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Generic logger", | ||
@@ -29,3 +29,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>", | ||
], | ||
"gitHead": "2bb1405a69af566c524d37bb4ad037cb480d6ca9" | ||
"gitHead": "3e5865f7b66c3346ea971a810540b24bc4484d67" | ||
} |
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
15691
219