Module: Travis::Logging
- Included in:
- Notifications
- Defined in:
- lib/travis/logging.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
25 26 27 |
# File 'lib/travis/logging.rb', line 25 def self.included(base) base.extend(self) end |
Instance Method Details
#log(*args) ⇒ Object
29 30 31 32 |
# File 'lib/travis/logging.rb', line 29 def log(*args) logger.info(*args) STDOUT.flush end |
#notice(message) ⇒ Object
38 39 40 |
# File 'lib/travis/logging.rb', line 38 def notice() "\e[33m#{}\e[0m" end |