Function init_with_log_dir

Source
pub fn init_with_log_dir<P>(
    file_name: P,
    level: LevelFilter,
) -> Result<(), LogInitError>
where P: AsRef<Path>,
Expand description

Initializes logger with skse log directory.

ยงErrors

  • If the directory for logs is not found
  • Logger did not have permission to create files