Class: Zold::Log
- Inherits:
-
Object
- Object
- Zold::Log
- Defined in:
- lib/zold/log.rb
Overview
Logging
Defined Under Namespace
Classes: Quiet
Instance Method Summary collapse
Instance Method Details
#error(msg) ⇒ Object
34 35 36 |
# File 'lib/zold/log.rb', line 34 def error(msg) puts "#{Rainbow('ERROR').red}: #{msg}" end |
#info(msg) ⇒ Object
30 31 32 |
# File 'lib/zold/log.rb', line 30 def info(msg) puts msg end |