Skip to main content

set_custom_logger

Function set_custom_logger 

Source
pub fn set_custom_logger(logger: Arc<dyn TDLogger>)
Expand description

Install a custom logger that receives every formatted diagnostic message.

Pass an Arc wrapping your implementation; call clear_custom_logger to remove it again.