@libj/logger
Advanced tools
Comparing version 0.2.11 to 0.3.0
@@ -10,3 +10,4 @@ import { LoggerArg, LoggerInterface } from '../LoggerInterface'; | ||
print(message: string, ...args: LoggerArg[]): void; | ||
println(message: string, ...args: LoggerArg[]): void; | ||
println(message?: string, ...args: LoggerArg[]): void; | ||
printSameLn(message: string, ...args: LoggerArg[]): void; | ||
} |
@@ -74,2 +74,3 @@ "use strict"; | ||
ConsoleLogger.prototype.println = function (message) { | ||
if (message === void 0) { message = ''; } | ||
var args = []; | ||
@@ -81,2 +82,9 @@ for (var _i = 1; _i < arguments.length; _i++) { | ||
}; | ||
ConsoleLogger.prototype.printSameLn = function (message) { | ||
var args = []; | ||
for (var _i = 1; _i < arguments.length; _i++) { | ||
args[_i - 1] = arguments[_i]; | ||
} | ||
this.print(message + "\r", args); | ||
}; | ||
return ConsoleLogger; | ||
@@ -83,0 +91,0 @@ }(BaseLogger_1.BaseLogger)); |
@@ -6,3 +6,3 @@ { | ||
"name": "@libj/logger", | ||
"version": "0.2.11", | ||
"version": "0.3.0", | ||
"description": "Generic logger", | ||
@@ -29,3 +29,3 @@ "author": "Sergey Poskachey <seregynp@gmail.com>", | ||
], | ||
"gitHead": "831daf155bd629061c8ea925ef5444587a8fa885" | ||
"gitHead": "c7d83a5d85c0f4fd705f5c8dd5e3a2dd665e6395" | ||
} |
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
16778
240