pub fn log_message( level: &str, message: &str, module: &str, file: &str, line: u32, )
Log a message with file and line info Used by Python wrapper