Module: Niso::Logger
- Defined in:
- lib/niso/logger.rb
Class Method Summary collapse
Class Method Details
.error(text) ⇒ Object
12 13 14 |
# File 'lib/niso/logger.rb', line 12 def error(text) puts text.color(:red).bright end |
.info(text) ⇒ Object
4 5 6 |
# File 'lib/niso/logger.rb', line 4 def info(text) puts text.bright end |
.success(text) ⇒ Object
8 9 10 |
# File 'lib/niso/logger.rb', line 8 def success(text) puts text.color(:green).bright end |