Module: WallE::Logger
- Included in:
- SerialSnoop
- Defined in:
- lib/wall_e/logger.rb
Instance Method Summary collapse
Instance Method Details
#error(message) ⇒ Object
7 8 9 |
# File 'lib/wall_e/logger.rb', line 7 def error() log("\033[31m#{}\033\[0m") end |
#info(message) ⇒ Object
3 4 5 |
# File 'lib/wall_e/logger.rb', line 3 def info() log("\033[34m#{}\033\[0m") end |
#log(message) ⇒ Object
11 12 13 |
# File 'lib/wall_e/logger.rb', line 11 def log() puts end |