Sha256: d02d6d3129b74207164f8f5350f64b004adb333638be8c99548396faf49f3316
Contents?: true
Size: 656 Bytes
Versions: 18
Compression:
Stored size: 656 Bytes
Contents
module Groonga class Logger class Level @@names = {} def self.find(name) @@names[name] end attr_reader :name def initialize(name, level) @@names[name] = self @name = name @level = level end def to_i @level end NONE = new(:none, 0) EMERG = new(:emerg, 1) ALERT = new(:alert, 2) CRIT = new(:crit, 3) ERROR = new(:error, 4) WARNING = new(:warning, 5) NOTICE = new(:notice, 6) INFO = new(:info, 7) DEBUG = new(:debug, 8) DUMP = new(:dump, 9) end end end
Version data entries
18 entries across 18 versions & 1 rubygems