mirror of
				https://github.com/MindWorkAI/AI-Studio.git
				synced 2025-11-04 10:00:21 +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