Function fil_logger::init_with_file
source · [−]pub fn init_with_file(file: File)
Expand description
initializes a new logger that logs to an already opened std::fs::File
.
For more information about the log format, see init
.
Panics
Panics if a global logger was already set or the value of RUST_LOG
is malformed.