Class Log4r::Outputter
In: /home/cepheus/projects/prep/log4r-1.0.0/src/log4r/outputterfactory.rb
/home/cepheus/projects/prep/log4r-1.0.0/src/log4r/outputter.rb
Parent: Object
Methods
[]    []=    close    closed?    each    formatter=    level=    new    only_at    stderr    stdout   
Attributes
formatter  [R] 
level  [R] 
Public Class methods
new(_name, _out, hash=nil)
An Outputter needs an IO object to write to. The hash arguments are as follows:

:level
Logger level. Optional, defaults to root level
:formatter
A Formatter. Defaults to DefaultFormatter
[](name)
Retrieve an outputter.
stdout()
stderr()
[]=(name, outputter)
Set an outputter.
each() {|name, outputter}| ...}
Yields each outputter's name and reference.
Public Instance methods
closed?()
close()
Close the IO and sets level to OFF
level=(_level)
dynamically change the level
only_at(*levels)
Set the levels to log. All others will be ignored
formatter=(_formatter)
Dynamically change the formatter. You can just specify a Class object and the formatter will invoke new or instance on it as appropriate.