pub fn log(level: Level, msg: &str)
Core logging function that handles console output with colors and appends to a daily rolling log file.