handle Ruby Logger::Severity constants properly