[−][src]Function replicante_logging::configure
pub fn configure(config: Config, opts: &Opts) -> Logger
Creates a Logger
based on the given configuration.
This is the first function in a list of generic functions.
The intermediate configuration stages, while all compatible with the Drain
trait,
have different concrete types.
Using generic functions allows code reuse without repeatedly boxing intermediate steps.