WinstonLogger
Home > @backstage/backend-app-api
> WinstonLogger
A LoggerService implementation based on winston.
Signature:
class WinstonLogger implements RootLoggerService
Implements: RootLoggerService
Methods
Method | Modifiers | Description |
---|---|---|
addRedactions(redactions) | ||
child(meta) | ||
colorFormat() | static | Creates a pretty printed winston log formatter. |
create(options) | static | Creates a WinstonLogger instance. |
debug(message, meta) | ||
error(message, meta) | ||
info(message, meta) | ||
redacter() | static | Creates a winston log formatter for redacting secrets. |
warn(message, meta) |