Class: Log4r::Logger
Overview
:nodoc:
Instance Method Summary collapse
-
#<<(text) ⇒ Object
Rack CommonLogger middleware expects a << method.
- #write(text) ⇒ Object
Instance Method Details
#<<(text) ⇒ Object
Rack CommonLogger middleware expects a << method
33 34 35 |
# File 'lib/trellis/logging.rb', line 33 def <<(text) info(text.delete!("\n")) end |
#write(text) ⇒ Object
37 38 39 |
# File 'lib/trellis/logging.rb', line 37 def write(text) info(text.delete!("\n")) end |