Class: Cyrun::Logger
- Inherits:
-
Object
- Object
- Cyrun::Logger
- Defined in:
- lib/cyrun/logger.rb
Class Method Summary collapse
Class Method Details
.error(*message) ⇒ Object
6 7 8 |
# File 'lib/cyrun/logger.rb', line 6 def self.error(*) puts "[ERROR] #{.map(&:to_s).join}".red end |
.info(*message) ⇒ Object
10 11 12 |
# File 'lib/cyrun/logger.rb', line 10 def self.info(*) puts "[INFO] #{.map(&:to_s).join}" end |