/// A logger that doesn't log. Used in tests.
A logger that doesn't log. Used in tests.
A logger that doesn ' t log . Used in tests .
pub fn no_op_logger() -> ReplicaLogger {
    LogEntryLogger::new(
        slog::Logger::root(slog::Discard, slog::o!()),
        slog::Level::Critical,
        vec![],
        HashMap::new(),
        vec![],
    )
    .into()
}
pub fn no_op_logger ( ) -> ReplicaLogger { LogEntryLogger :: new ( slog :: Logger :: root ( slog :: Discard , slog :: o ! ( ) ) , slog :: Level :: Critical , vec ! [ ] , HashMap :: new ( ) , vec ! [ ] , ) . into ( ) }
A logger that doesn't log.
A logger that doesn ' t log .