[][src]Function ptero::log::get_file_logger

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

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