Module

Log4r

:nodoc:

== From log4r/staticlogger.rb

:nodoc:

== From log4r/configurator.rb

TODO: catch unparsed parameters #{FOO} and die

== From log4r/lib/xmlloader.rb

:nodoc:

== From log4r/lib/drbloader.rb

:nodoc:

== From log4r/config.rb

:nodoc:
Version:: $Id: config.rb,v 1.9 2002/01/28 16:05:04 cepheus Exp $

== From log4r/logevent.rb

:nodoc:
Modules
Log4rConfig
ROMPClient
ROMPServer
Classes
BasicFormatter BasicFormatter produces output like this:
ConfigError Gets raised when Configurator encounters bad XML.
Configurator See log4r/configurator.rb
DateFileOutputter Additional hash arguments are:
DefaultFormatter Outputters that don’t define a Formatter will get this, which is currently BasicFormatter
EmailOutputter
FileOutputter Convenience wrapper for File. Additional hash arguments are:
Formatter Formatter is an abstract class and a null object
IOOutputter 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.
Log4rTools Some common functions
LogEvent LogEvent wraps up all the miscellaneous data associated with a logging statement. It gets passed around to the varied components of Log4r and should be of interest to those creating extensions.
LogServer See log4r/logserver.rb
Logger See log4r/logger.rb
ObjectFormatter Formats objects the same way irb does:
Outputter
PatternFormatter See log4r/formatter/patternformatter.rb
RemoteOutputter See log4r/logserver.rb
RollingFileOutputter RollingFileOutputter - subclass of FileOutputter that rolls files on size or time. Additional hash arguments are:
RootLogger RootLogger should be retrieved with Logger.root or Logger.global. It’s supposed to be transparent.
SimpleFormatter SimpleFormatter produces output like this:
StderrOutputter Same as IOOutputter(name, $stderr)
StdoutOutputter Same as IOOutputter(name, $stdout)
SyslogOutputter
YamlConfigurator See log4r/yamlconfigurator.rb
Constants
ALL
HAVE_REXML
HAVE_REXML
HAVE_ROMP
HAVE_ROMP
LNAMES
Log4rVersion
Public Methods
define_levels Defines the log levels of the Log4r module at runtime. It is given either the default level spec (when root logger is created) or the user-specified level spec (when Logger.custom_levels is called).
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.