pub fn init_logging(format: LogFormat, trace_id: Option<String>)
Initialize logging with the specified format and trace ID