fix log
This commit is contained in:
		
							parent
							
								
									c1bad84a86
								
							
						
					
					
						commit
						2e75028d83
					
				| @ -47,7 +47,7 @@ Desktop versions use [sciter](https://sciter.com/) for GUI, please download scit | ||||
| 
 | ||||
| - run `cargo run` | ||||
| 
 | ||||
| ## [Build on Windows](https://rustdesk.com/docs/en/dev/build/) | ||||
| ## [Build](https://rustdesk.com/docs/en/dev/build/) | ||||
| 
 | ||||
| ## How to build on Linux | ||||
| 
 | ||||
|  | ||||
| @ -39,12 +39,12 @@ fn main() { | ||||
|         println!("{}", crate::VERSION); | ||||
|         return; | ||||
|     } | ||||
|     #[cfg(feature = "inline")] | ||||
|     #[cfg(not(feature = "inline"))] | ||||
|     { | ||||
|         use hbb_common::env_logger::*; | ||||
|         init_from_env(Env::default().filter_or(DEFAULT_FILTER_ENV, "info")); | ||||
|     } | ||||
|     #[cfg(not(feature = "inline"))] | ||||
|     #[cfg(feature = "inline")] | ||||
|     { | ||||
|         let mut path = hbb_common::config::Config::log_path(); | ||||
|         if args.len() > 0 && args[0].starts_with("--") { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user