Class: Capistrano::Smartlogging::CustomLogger
- Inherits:
-
Logger
- Object
- Logger
- Capistrano::Smartlogging::CustomLogger
- Defined in:
- lib/capistrano/smartlogging/formatter.rb
Instance Attribute Summary collapse
-
#oio ⇒ Object
Returns the value of attribute oio.
Instance Method Summary collapse
Instance Attribute Details
#oio ⇒ Object
Returns the value of attribute oio.
28 29 30 |
# File 'lib/capistrano/smartlogging/formatter.rb', line 28 def oio @oio end |
Instance Method Details
#<<(msg) ⇒ Object
30 31 32 33 |
# File 'lib/capistrano/smartlogging/formatter.rb', line 30 def <<(msg) oio ? oio.write(msg) : $stdout.write(msg) info(msg) end |