Optional baseThe base labels for the logger. These are added to every log message of all child loggers.
Optional hideThe labels to hide from the log payload in simple and pretty presets.
Optional hideHide the system labels from the log payload in simple and pretty presets. (Because it's appearing in log messages)
[LEVEL, SPLAT, 'timestamp', 'module', 'message', 'level', 'hostname']
Optional levelThe log level. This is used to filter log messages.
process.env.LOG_LEVEL || 'warning'
Optional loggingThe logging preset. This is a shorthand for configuring the logger.
Use 'none' to disable presets and use makeWinstonConfig to manually configure the logger.
process.env.LOG_FORMAT || 'simple'
Optional makeThe child logger factory. This is used to create the child logger.
Optional makeThe logger factory. This is used to create the logger.
The logger configuration.
Optional makeThe logger configuration. This is used to create the logger's configuration.
The logger preset configuration. If loggingPreset is 'none', this will be an empty object
Optional scopeThe scope of the logger. You can have multiple loggers with different scopes.
'default'
Optional winstonThe winston configuration. Used to manually configure edge cases.
The root logger module configuration.