Class: Logger
- Inherits:
-
Object
- Object
- Logger
- Defined in:
- lib/funnel/logger.rb
Constant Summary collapse
- @@threshhold =
3
Class Method Summary collapse
Class Method Details
.debug(msf) ⇒ Object
9 10 11 |
# File 'lib/funnel/logger.rb', line 9 def self.debug msf log msg if @@threshhold <= 1 end |
.info(msg) ⇒ Object
5 6 7 |
# File 'lib/funnel/logger.rb', line 5 def self.info msg log msg if @@threshhold <= 3 end |
.warning(msg) ⇒ Object
13 14 15 |
# File 'lib/funnel/logger.rb', line 13 def self.warning msg log msg if @@threshhold <= 2 end |