Constructors
constructor
- new Logger(): Logger
-
Properties
Private
debugFn
debugFn: any
Private
errorFn
errorFn: any
Private
logFn
logFn: any
Private
logLevel
logLevel: any
Private
Readonly
noop
noop: any
Private
verboseFn
verboseFn: any
Private
warnFn
warnFn: any
Accessors
debug
- get debug(): {
(...data): void;
(message?, ...optionalParams): void;
}
-
Returns {
(...data): void;
(message?, ...optionalParams): void;
}
-
- (...data): void
-
Returns void
- (message?, ...optionalParams): void
-
Parameters
-
Optional
message: any
-
Rest
...optionalParams: any[]
Returns void
error
- get error(): {
(...data): void;
(message?, ...optionalParams): void;
}
-
Returns {
(...data): void;
(message?, ...optionalParams): void;
}
-
- (...data): void
-
Returns void
- (message?, ...optionalParams): void
-
Parameters
-
Optional
message: any
-
Rest
...optionalParams: any[]
Returns void
level
- get level(): LogLevel
-
log
- get log(): {
(...data): void;
(message?, ...optionalParams): void;
}
-
Returns {
(...data): void;
(message?, ...optionalParams): void;
}
-
- (...data): void
-
Returns void
- (message?, ...optionalParams): void
-
Parameters
-
Optional
message: any
-
Rest
...optionalParams: any[]
Returns void
verbose
- get verbose(): {
(...data): void;
(message?, ...optionalParams): void;
}
-
Returns {
(...data): void;
(message?, ...optionalParams): void;
}
-
- (...data): void
-
Returns void
- (message?, ...optionalParams): void
-
Parameters
-
Optional
message: any
-
Rest
...optionalParams: any[]
Returns void
warn
- get warn(): {
(...data): void;
(message?, ...optionalParams): void;
}
-
Returns {
(...data): void;
(message?, ...optionalParams): void;
}
-
- (...data): void
-
Returns void
- (message?, ...optionalParams): void
-
Parameters
-
Optional
message: any
-
Rest
...optionalParams: any[]
Returns void
Methods
setLevel
- setLevel(level): void
-
Returns void