Function logsley::configure_for_test[][src]

pub fn configure_for_test(
    filters: &str,
    format: OutputFormat
) -> Result<(), ChangingConfigNotAllowed>
Expand description

Configures log and slog to emit to stdout with “plain” format. Can be called multiple times from different threads. Each call leaks a GlobalLoggerGuard which contains only a bool.