Function init_logger_with_level
Source pub fn init_logger_with_level(level: &str)
Expand description
Initialize the logger with a specific log level.
§Arguments
level
- The log level to use (e.g., “debug”, “info”, “warn”, “error”)
§Examples
use hyperliquid_backtest::logging::init_logger_with_level;
init_logger_with_level("debug");
log::debug!("Debug logging enabled");