mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 11:59:48 +00:00
Improved documentation
This commit is contained in:
parent
05f576a50b
commit
1b737a0ba9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user