Skip to main content

set_log_level

Function set_log_level 

Source
pub fn set_log_level(level: TDLogLevel)
Expand description

Set the log output level.

The default is TDLogLevel::Off. Note that constructing a DebugConsumer raises the global level to TDLogLevel::Debug, matching the official Go SDK behavior.