Function slog_extlog::slog_test::create_logger_buffer [−][src]
pub fn create_logger_buffer(
stats: StatDefinitions
) -> (StatisticsLogger<DefaultStatisticsLogFormatter>, Buffer)
Common setup function.
Creates a logger using the provided statistics and buffer so we can easily view the generated logs.