Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.log4j.helpers: Javadoc index of package org.apache.log4j.helpers.


Package Samples:

org.apache.log4j.helpers

Classes:

SingleLineTracerPrintWriter: SingleLineTracerPrintWriter overrides the println function in TracerPrintWriter by replacing the TAB character with spaces. It also does not print the "\n". The default format generated by TracerPrintWriter for exceptions prints on multiple lines, which does not interact well with some logging systems. On the other hand, a stack-trace on one line can be a mite difficult to read, so this class should only be used where really necessary :-) For syslog daemons, tabs in messages are not friendly, hence the replacement of tabs by spaces here. It shouldn't do any harm to do this for all messages... Perhaps ...
LogLog: This class used to output log statements from within the log4j package. Log4j components cannot make log4j logging calls. However, it is sometimes useful for the user to learn about what log4j is doing. You can enable log4j internal logging by defining the log4j.configDebug variable. All log4j internal debug calls go to System.out where as internal error messages are sent to System.err . All internal messages are prepended with the string "log4j: ".
OnlyOnceErrorHandler: The OnlyOnceErrorHandler implements log4j's default error handling policy which consists of emitting a message for the first error in an appender and ignoring all following errors. The error message is printed on System.err . This policy aims at protecting an otherwise working application from being flooded with error messages when logging fails.
PatternParser: Most of the work of the org.apache.log4j.PatternLayout class is delegated to the PatternParser class. It is this class that parses conversion patterns and creates a chained list of OptionConverters .
ISO8601DateFormat: Formats a java.util.Date in the format "YYYY-mm-dd HH:mm:ss,SSS" for example "1999-11-27 15:49:37,459". Refer to the summary of the International Standard Date and Time Notation for more information on this format.
PatternConverter: PatternConverter is an abtract class that provides the formatting functionality that derived classes need. Conversion specifiers in a conversion patterns are parsed to individual PatternConverters. Each of which is responsible for converting a logging event in a converter specific manner.
CyclicBuffer: CyclicBuffer is used by other appenders to hold LoggingEvents for immediate or differed display. This buffer gives read access to any element in the buffer not just the first or last element.
RelativeTimeDateFormat: Formats a java.util.Date by printing the number of milliseconds elapsed since the start of the application. This is the fastest printing DateFormat in the package.
FileWatchdog: Check every now and then that a certain file has not changed. If it has, then call the doOnChange() 55 method.
ThreadLocalMap: ThreadLocalMap extends java.lang.InheritableThreadLocal to bequeath a copy of the hashtable of the MDC of the parent thread.
QuietWriter: QuietWriter does not throw exceptions when things go wrong. Instead, it delegates error handling to its org.apache.log4j.spi.ErrorHandler .
BoundedFIFO: BoundedFIFO serves as the bounded first-in-first-out buffer heavily used by the org.apache.log4j.AsyncAppender .
AppenderAttachableImpl: A straightforward implementation of the org.apache.log4j.spi.AppenderAttachable interface.
DateTimeDateFormat: Formats a java.util.Date in the format "dd MMM YYYY HH:mm:ss,SSS" for example, "06 Nov 1994 15:49:37,459".
AbsoluteTimeDateFormat: Formats a java.util.Date in the format "HH:mm:ss,SSS" for example, "15:49:37,459".
FormattingInfo: FormattingInfo instances contain the information obtained when parsing formatting modifiers in conversion modifiers.
SyslogWriter: SyslogWriter is a wrapper around the java.net.DatagramSocket class so that it behaves like a java.io.Writer.
SyslogQuietWriter: SyslogQuietWriter extends QuietWriter by prepending the syslog level code before each printed String.
DateLayout: This abstract layout takes care of all the date related options and formatting work.
OptionConverter: A convenience class to convert property values to specific types.
Loader: Load resources (or images) from various sources.
Transform: Utility class for transforming strings.
CountingQuietWriter: Counts the number of bytes written.
NullEnumeration: An always-empty Enumerator.

Home | Contact Us | Privacy Policy | Terms of Service