Class Logging::Appenders::IO
In: lib/logging/appenders/io.rb
Parent: ::Logging::Appender

This class provides an Appender that can write to any IO stream configured for writing.

Methods

close   flush   new  

Included Modules

Buffering

Public Class methods

Creates a new IO Appender using the given name that will use the io stream as the logging destination.

Public Instance methods

Close the appender and writes the layout footer to the logging destination if the footer flag is set to true. Log events will no longer be written to the logging destination after the appender is closed.

Call flush to force an appender to write out any buffered log events. Similar to IO#flush, so use in a similar fashion.

[Validate]