get_logger must return a function
This commit is contained in:
@@ -8,7 +8,7 @@ export class Console implements Writer {
|
||||
readonly _options: WriterOptions
|
||||
) {}
|
||||
|
||||
private static get_logger(level: Level) {
|
||||
private static get_logger(level: Level) : (...data: any[]) => void {
|
||||
switch (level) {
|
||||
case Level.DEBUG: return console.debug
|
||||
case Level.TRACE: return console.debug
|
||||
|
||||
Reference in New Issue
Block a user