Class: Apstrings::Log
- Inherits:
-
Object
- Object
- Apstrings::Log
- Defined in:
- lib/apstrings/logger.rb
Class Method Summary collapse
Class Method Details
.error(message) ⇒ Object
13 14 15 |
# File 'lib/apstrings/logger.rb', line 13 def self.error() puts "ERROR: #{}".red end |
.info(message) ⇒ Object
5 6 7 |
# File 'lib/apstrings/logger.rb', line 5 def self.info() puts "INFO : #{}".green end |
.warn(message) ⇒ Object
9 10 11 |
# File 'lib/apstrings/logger.rb', line 9 def self.warn() puts "WARNING: #{}".yellow end |