get_file_logger

Function get_file_logger 

Source
pub fn get_file_logger(log_path: &str) -> Dispatch
Expand description

Returns pre-configured file logger. This logger does not used coloring and adds additional info like date time or module path. It doesn’t restrict logging - saves everything beginning from TRACE level.

§Arguments

  • log_path - path to the log file which will be used to store logs