module Celluloid::IncidentLogger::Severity - celluloid-0.16.0 Documentation

# module 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