Module byztimed::logging[][src]

Configuration for log4rs

log4rs is a very flexible logging framework – much more flexible than we need it to be. This module translates the much simpler configuration language we expose through the Byztime config file into a log4rs configuration and initializes log4rs accordingly.

Enums

LogConfig

A logging target — either a file or STDOUT or STDERR — coupled with a minimum severity level

Functions

init_logging

Initialize logging

reinit_logging

Reinitialize logging (useful for reopening log files after they’ve been rotated)

Type Definitions

LogHandle