Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/core_ext/logger.rb
Instance Method Summary collapse
- #add_with_yell(severity, message = nil, progname = nil, &block) ⇒ Object (also: #add)
- #level_with_yell=(level) ⇒ Object (also: #level=)
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, = nil, progname = nil, &block ) add_without_yell(Integer(severity), , 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 |