Interface: Logger
common.Logger
Implement this interface in order to customize worker logging
Implemented by
Methods
debug
▸ debug(message
, meta?
): any
Parameters
Name | Type |
---|---|
message | string |
meta? | LogMetadata |
Returns
any
error
▸ error(message
, meta?
): any
Parameters
Name | Type |
---|---|
message | string |
meta? | LogMetadata |
Returns
any
info
▸ info(message
, meta?
): any
Parameters
Name | Type |
---|---|
message | string |
meta? | LogMetadata |
Returns
any
log
▸ log(level
, message
, meta?
): any
Parameters
Name | Type |
---|---|
level | LogLevel |
message | string |
meta? | LogMetadata |
Returns
any
trace
▸ trace(message
, meta?
): any
Parameters
Name | Type |
---|---|
message | string |
meta? | LogMetadata |
Returns
any
warn
▸ warn(message
, meta?
): any
Parameters
Name | Type |
---|---|
message | string |
meta? | LogMetadata |
Returns
any