pub fn format_log(level: LogLevel, message: &str) -> String
Format a log message with level, timestamp, and message