Include nanoseconds in log timestamp
This commit is contained in:
@ -9,6 +9,8 @@ static INIT: Once = ONCE_INIT;
|
||||
/// Setup function that is only run once, even if called multiple times.
|
||||
pub fn setup() {
|
||||
INIT.call_once(|| {
|
||||
env_logger::init();
|
||||
env_logger::Builder::from_default_env()
|
||||
.default_format_timestamp_nanos(true)
|
||||
.init();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user