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?Record<string, any>

Returns#

any


error#

error(message, meta?): any

Parameters#

NameType
messagestring
meta?Record<string, any>

Returns#

any


info#

info(message, meta?): any

Parameters#

NameType
messagestring
meta?Record<string, any>

Returns#

any


trace#

trace(message, meta?): any

Parameters#

NameType
messagestring
meta?Record<string, any>

Returns#

any


warn#

warn(message, meta?): any

Parameters#

NameType
messagestring
meta?Record<string, any>

Returns#

any