Included Modules

Class/Module Index [+]

Quicksearch

Celluloid::IncidentLogger::Severity

Constants

TRACE

Public Instance Methods

severity_to_string(severity) click to toggle source
# File lib/celluloid/logging/incident_logger.rb, line 13
def severity_to_string(severity)
  case severity
  when TRACE   then 'TRACE'
  when DEBUG   then 'DEBUG'
  when INFO    then 'INFO'
  when WARN    then 'WARN'
  when ERROR   then 'ERROR'
  when FATAL   then 'FATAL'
  when UNKNOWN then 'UNKNOWN'
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.