fn format_log_location(record: &Record<'_>) -> String
Helper to extract formatted filename and line number from logs.