Class
Log4r::IOOutputter
In: log4r/outputter/iooutputter.rb
Parent: Outputter

IO Outputter invokes print then flush on the wrapped IO object. If the IO stream dies, IOOutputter sets itself to OFF and the system continues on its merry way.

To find out why an IO stream died, create a logger named 'log4r' and look at the output.

Methods

close, close, close,
Public Class methods
new(_name, _out, hash={}) src

IOOutputter needs an IO object to write to.

Public Instance methods
closed?() src
close() src

Close the IO and sets level to OFF