Class: abstract
WorkerLogger
Abstract Logger class
Extended by
Constructors
new WorkerLogger(output, level)
new WorkerLogger(
output
,level
?):WorkerLogger
Parameters
• output: WorkerOutput
• level?: WorkerLogLevel
Returns
Source
Properties
level
level:
WorkerLogLevel
Source
listener
listener: (
msg
) =>void
Parameters
• msg: WorkerMessage
Returns
void
Source
output
output:
WorkerOutput
Source
Methods
close()
close():
void
Close the listener
Returns
void
Source
onMessage()
abstract
onMessage(msg
):void
Process a WorkerOutput message
Parameters
• msg: WorkerMessage
Returns
void