Class: FortuneTeller::Logger
- Inherits:
-
Object
- Object
- FortuneTeller::Logger
- Defined in:
- lib/fortune_teller/logger.rb
Constant Summary collapse
- DEBUG_LEVEL =
nil
Class Method Summary collapse
Class Method Details
.log(message, msg_level = 0) ⇒ Object
4 5 6 |
# File 'lib/fortune_teller/logger.rb', line 4 def self.log , msg_level = 0 puts if DEBUG_LEVEL && msg_level >= DEBUG_LEVEL end |