Class: DebugLogger
Unit test in file.spec.ts
Extends
Constructors
new DebugLogger(output, filepath)
new DebugLogger(
output
,filepath
):DebugLogger
Parameters
• output: WorkerOutput
• filepath: string
Returns
Overrides
Source
Properties
filepath
filepath:
string
Inherited from
Source
format
format:
string
Inherited from
Source
level
level:
WorkerLogLevel
Inherited from
Source
listener
listener: (
msg
) =>void
Parameters
• msg: WorkerMessage
Returns
void
Inherited from
Source
output
output:
WorkerOutput
Inherited from
Source
outputCount
outputCount:
number
=0
Inherited from
Source
outputStream?
outputStream?:
WriteStream
Inherited from
Source
sizeLimit
sizeLimit:
number
Inherited from
Source
Methods
close()
close():
void
Close the listener
Returns
void
Inherited from
Source
filter()
filter():
boolean
Returns
boolean
Overrides
Source
getLine()
getLine(
msg
):string
Parameters
• msg: WorkerMessage
Returns
string
Overrides
Source
onMessage()
onMessage(
msg
):void
Process a WorkerOutput message
Parameters
• msg: WorkerMessage
Returns
void
Inherited from
Source
rotateLogs()
rotateLogs(
filepath
):void
Parameters
• filepath: string
Returns
void