pub fn install_rotate_logger<P: AsRef<Path>>( path: P, max_len: u64, console: WithConsole, ) -> Result<()>