Class: EpoOps::Logger
- Inherits:
-
Object
- Object
- EpoOps::Logger
- Defined in:
- lib/epo_ops/logger.rb
Overview
Simple logger writing some notifications to standard output.
Class Method Summary collapse
-
.debug(output) ⇒ Object
Debug logging only.
-
.log(output) ⇒ Object
Just hands the parameter to puts.
Class Method Details
.debug(output) ⇒ Object
Debug logging only
10 11 12 |
# File 'lib/epo_ops/logger.rb', line 10 def self.debug(output) log(output) if ENV['DEBUG'] end |
.log(output) ⇒ Object
Just hands the parameter to puts.
5 6 7 |
# File 'lib/epo_ops/logger.rb', line 5 def self.log(output) puts output end |