Class: Logger

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/logger.rb

Instance Method Summary collapse

Instance Method Details

#add_with_yell(severity, message = nil, progname = nil, &block) ⇒ Object Also known as: add



11
12
13
# File 'lib/core_ext/logger.rb', line 11

def add_with_yell( severity, message = nil, progname = nil, &block )
  add_without_yell(Integer(severity), message, progname, &block)
end

#level_with_yell=(level) ⇒ Object Also known as: level=



5
6
7
# File 'lib/core_ext/logger.rb', line 5

def level_with_yell=( level )
  self.level_without_yell= Integer(level)
end