Skip to main content

Interface: Logger

worker.Logger

Implement this interface in order to customize worker logging

Implemented by#

Methods#

debug#

debug(message, meta?): any

Parameters#

NameType
messagestring
meta?LogMetadata

Returns#

any


error#

error(message, meta?): any

Parameters#

NameType
messagestring
meta?LogMetadata

Returns#

any


info#

info(message, meta?): any

Parameters#

NameType
messagestring
meta?LogMetadata

Returns#

any


log#

log(level, message, meta?): any

Parameters#

NameType
levelLogLevel
messagestring
meta?LogMetadata

Returns#

any


trace#

trace(message, meta?): any

Parameters#

NameType
messagestring
meta?LogMetadata

Returns#

any


warn#

warn(message, meta?): any

Parameters#

NameType
messagestring
meta?LogMetadata

Returns#

any