mirror of
				https://github.com/comit-network/xmr-btc-swap.git
				synced 2025-10-30 22:49:02 -04:00 
			
		
		
		
	Configure binary tracing level for xmr_btc and monero_harness
This commit is contained in:
		
							parent
							
								
									5dede0f361
								
							
						
					
					
						commit
						33b36c98fa
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -14,7 +14,10 @@ pub fn init_tracing(level: log::LevelFilter) -> anyhow::Result<()> { | |||
| 
 | ||||
|     let is_terminal = atty::is(Stream::Stdout); | ||||
|     let subscriber = FmtSubscriber::builder() | ||||
|         .with_env_filter(format!("swap={}", level)) | ||||
|         .with_env_filter(format!( | ||||
|             "swap={},xmr_btc={},monero_harness={}", | ||||
|             level, level, level | ||||
|         )) | ||||
|         .with_ansi(is_terminal) | ||||
|         .finish(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lucas Soriano del Pino
						Lucas Soriano del Pino