Struct std_logger::Config [−][src]
pub struct Config<F, Kvs> { /* fields omitted */ }
Implementations
Logfmt following https://www.brandur.org/logfmt.
Google Cloud Platform structured logging using JSON, following https://cloud.google.com/logging/docs/structured-logging.
Add the key-values kvs
to all logged messages.
Initialise the logger.
See the crate level documentation for more.
Panics
This will panic if the logger fails to initialise. Use Config::try_init
if
you want to handle the error yourself.
Try to initialise the logger.
Unlike Config::init
this doesn’t panic when the logger fails to initialise.
See the crate level documentation for more.