Class: Logger
Constructors
new Logger()
new Logger(
logLevels
?:string
[],callback
?: (input
:string
) =>any
):Logger
Parameters
Parameter | Type |
---|---|
logLevels ? | string [] |
callback ? | (input : string ) => any |
Returns
Defined in
Properties
callback
callback:
undefined
| (input
:string
) =>any
Defined in
events
events:
EventEmitter
<DefaultEventMap
>
Defined in
logLevels
logLevels:
string
[]
Defined in
logStream
logStream:
string
[]
Defined in
Methods
info()
info(
input
:string
):void
Parameters
Parameter | Type |
---|---|
input | string |
Returns
void
Defined in
log()
log(
input
:string
):void
Parameters
Parameter | Type |
---|---|
input | string |
Returns
void
Defined in
streamHandler()
streamHandler():
void
Returns
void