Improved documentation

This commit is contained in:
Thorsten Sommer 2025-03-03 12:42:05 +01:00
parent 05f576a50b
commit 1b737a0ba9
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -75,7 +75,7 @@ pub fn init_logging() {
LOGGER.set(runtime_logger).expect("Cannot set LOGGER");
}
/// Switch the logging system to a file-based output.
/// Switch the logging system to a file-based output inside the given directory.
pub fn switch_to_file_logging(logger_path: PathBuf) -> Result<(), Box<dyn Error>>{
let log_path = FileSpec::default()
.directory(logger_path)