Module logs

Source

Structs§

CompatLogger
InnerLogger
LogDirective
LogLineCachedState
Logger
Metadata
Metadata about a log message.
Rfc3339Time

Enums§

AccessLogFormat
LogLevel
LogLevelFilter
LogSpecParseError
LoggerBackend

Constants§

LOGGER

Statics§

COMPAT_LOGGER

Functions§

now
yields (Rfc3339Time, unix_epoch)
parse_logging_spec
setup_default_logging
start the logger with all logs and access logs on stdout
setup_logging
start the logger, after:
setup_logging_with_config
start the logger from config (takes RUST_LOG into account)
target_to_backend