Class: OtelLogger
Extends
WorkerLogger
Constructors
new OtelLogger(logger, output)
new OtelLogger(
logger
,output
):OtelLogger
Parameters
• logger: Logger
• output: WorkerOutput
Returns
Overrides
WorkerLogger.constructor
Source
Properties
level
level:
WorkerLogLevel
Inherited from
WorkerLogger.level
Source
workout/lib/loggers/index.d.ts:6
listener
listener: (
msg
) =>void
Parameters
• msg: WorkerMessage
Returns
void
Inherited from
WorkerLogger.listener
Source
workout/lib/loggers/index.d.ts:7
logger
protected
logger:Logger
Source
output
output:
WorkerOutput
Inherited from
WorkerLogger.output
Source
workout/lib/loggers/index.d.ts:8
Methods
close()
close():
void
Close the listener
Returns
void
Inherited from
WorkerLogger.close
Source
workout/lib/loggers/index.d.ts:18
onMessage()
onMessage(
msg
):void
Parameters
• msg: WorkerMessage
Returns
void
Overrides
WorkerLogger.onMessage