I couldn't get the solution suggested by @Lucas to work as I wanted to insert an extra level - my solution was along the following lines...
class UWS_Logger < Logger
verb = $VERBOSE
$VERBOSE = nil
SEVS = %w(DEBUG TRACE INFO WARN ERROR FATAL UNKNOWN).each_with_index do |c, i|
Logger::Severity.const_set(c, i)
end
$VERBOSE = verb
def format_severity(severity)
SEVS[severity] || 'ANY'
end
end