Class: Infuser::Logger
- Inherits:
-
Object
- Object
- Infuser::Logger
- Defined in:
- lib/infuser/logger.rb
Instance Method Summary collapse
Instance Method Details
#debug(msg) ⇒ Object
16 17 18 |
# File 'lib/infuser/logger.rb', line 16 def debug msg output msg end |
#error(msg) ⇒ Object
12 13 14 |
# File 'lib/infuser/logger.rb', line 12 def error msg output "ERROR: #{msg}" end |
#fatal ⇒ Object
20 21 22 |
# File 'lib/infuser/logger.rb', line 20 def fatal output "FATAL: #{msg}" end |
#info(msg) ⇒ Object
4 5 6 |
# File 'lib/infuser/logger.rb', line 4 def info msg output msg end |
#warn(msg) ⇒ Object
8 9 10 |
# File 'lib/infuser/logger.rb', line 8 def warn msg output "WARN: #{msg}" end |