de-mut some InvokeContext methods
This commit is contained in:
		
				
					committed by
					
						![mergify[bot]](/avatar/e3df20cd7a67969c41a65f03bea54961?size=40) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			
						parent
						
							8330123861
						
					
				
				
					commit
					da9548fd12
				
			| @@ -64,14 +64,14 @@ impl UserDefinedError for BPFError {} | ||||
| /// Point all log messages to the log collector | ||||
| macro_rules! log{ | ||||
|     ($logger:ident, $message:expr) => { | ||||
|         if let Ok(mut logger) = $logger.try_borrow_mut() { | ||||
|         if let Ok(logger) = $logger.try_borrow_mut() { | ||||
|             if logger.log_enabled() { | ||||
|                 logger.log($message); | ||||
|             } | ||||
|         } | ||||
|     }; | ||||
|     ($logger:ident, $fmt:expr, $($arg:tt)*) => { | ||||
|         if let Ok(mut logger) = $logger.try_borrow_mut() { | ||||
|         if let Ok(logger) = $logger.try_borrow_mut() { | ||||
|             if logger.log_enabled() { | ||||
|                 logger.log(&format!($fmt, $($arg)*)); | ||||
|             } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user