vendor/gems/logging-0.9.7/lib/logging.rb
def level_num( level )
      l = levelify level
      case l
      when 'all'; 0
      when 'off'; LEVELS.length
      else begin; Integer(l); rescue ArgumentError; LEVELS[l] end end
    end
# Convert the given level into a level number.
Convert the given level into a level number.
Convert the given level into a level number .
def level_num( level )
      l = levelify level
      case l
      when 'all'; 0
      when 'off'; LEVELS.length
      else begin; Integer(l); rescue ArgumentError; LEVELS[l] end end
    end
def level_num ( level ) l = levelify level case l when 'all' ; 0 when 'off' ; LEVELS . length else begin ; Integer ( l ) ; rescue ArgumentError ; LEVELS [ l ] end end end
Convert the given level into a level number.
Convert the given level into a level number .
level