support/ruby/collins-client/lib/collins/api/logging.rb
# Given a severity level, give back the severity, or nil if not valid
# @param [String,Symbol] level Severity level
# @return [String] Severity level as string
Given a severity level, give back the severity, or nil if not valid
Given a severity level give back the severity or nil if not valid
def value_of level
        level_s = normalize level
        if valid? level_s then
          level_s.to_s
        else
          nil
        end
      end
def value_of level level_s = normalize level if valid? level_s then level_s . to_s else nil end end
Given a severity level, give back the severity, or nil if not valid
Given a severity level give back the severity or nil if not valid
Severity level as string
Severity level as string
String
level
level Severity level
level Severity level