A C D E F G H I L M N O P R S T V W

A

AbstractLogger - Class in org.apache.logging.log4j.spi
Base implementation of a Logger.
AbstractLogger() - Constructor for class org.apache.logging.log4j.spi.AbstractLogger
Creates a new logger named after the class (or subclass).
AbstractLogger(String) - Constructor for class org.apache.logging.log4j.spi.AbstractLogger
Creates a new named logger.
AbstractLoggerWrapper - Class in org.apache.logging.log4j.spi
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
AbstractLoggerWrapper(AbstractLogger, String) - Constructor for class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Constructor that wraps and existing Logger.
appendMap(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
 
asJava(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
 
asJSON(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
 
asList() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Returns all the elements in the stack in a List.
asString() - Method in class org.apache.logging.log4j.message.MapMessage
Format the Structured data as described in RFC 5424.
asString(String) - Method in class org.apache.logging.log4j.message.MapMessage
 
asString() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Format the Structured data as described in RFC 5424.
asString(String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Format the Structured data as described in RFC 5424.
asString(StructuredDataMessage.Format, StructuredDataId) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Format the Structured data as described in RFC 5424.
asXML(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
 

C

catching(Level, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs an exception or error that has been caught.
catching(Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs an exception or error that has been caught.
catching(Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a Throwable at the ERROR level..
catching(Level, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a Throwable that has been caught.
CATCHING_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
Marker for catching exceptions.
clear() - Method in class org.apache.logging.log4j.message.MapMessage
Clear the data.
clear() - Method in class org.apache.logging.log4j.status.StatusLogger
Clears the list of status events.
clear() - Static method in class org.apache.logging.log4j.ThreadContext
Clear the context.
clear() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Clears all elements from the stack.
clear() - Method in class org.apache.logging.log4j.ThreadContext.ImmutableMap
 
clearStack() - Static method in class org.apache.logging.log4j.ThreadContext
Clear the stack for this thread.
cloneStack() - Static method in class org.apache.logging.log4j.ThreadContext
Returns a copy of this thread's stack.
containsKey(String) - Static method in class org.apache.logging.log4j.ThreadContext
Determine if the key is in the context.
copy() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Returns a copy of the ContextStack.
countArgumentPlaceholders(String) - Static method in class org.apache.logging.log4j.message.ParameterizedMessage
Counts the number of unescaped placeholders in the given messagePattern.

D

debug(Marker, Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the DEBUG level.
debug(Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the DEBUG level.
debug(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the DEBUG level.
debug(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(Marker, String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the DEBUG level.
debug(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the DEBUG level.
debug(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the DEBUG level.
debug(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the DEBUG level.
debug(Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the DEBUG level.
debug(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the DEBUG level.
debug(String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the DEBUG level.
debug(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the DEBUG level.
debug(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the DEBUG level.
debug(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the DEBUG level.
debug(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the DEBUG level.
debug(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the DEBUG level including the stack trace of the Throwable t passed as parameter.
debug(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the DEBUG level.
debug(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the DEBUG level.
debug(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the DEBUG level.
debug(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the DEBUG level.
debug(Marker, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the DEBUG level.
debug(Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the DEBUG level.
deepToString(Object) - Static method in class org.apache.logging.log4j.message.ParameterizedMessage
This method performs a deep toString of the given Object.
DEFAULT_DATE_TIME_FORMAT - Static variable in class org.apache.logging.log4j.simple.SimpleLoggerContext
The default format to use when formating dates

E

EMPTY_MAP - Static variable in class org.apache.logging.log4j.ThreadContext
Empty, immutable Map.
EMPTY_STACK - Static variable in class org.apache.logging.log4j.ThreadContext
Empty, immutable ContextStack.
EnglishEnums - Class in org.apache.logging.log4j.util
Helps convert English Strings to English Enum values.
EnglishEnums() - Constructor for class org.apache.logging.log4j.util.EnglishEnums
 
entry() - Method in interface org.apache.logging.log4j.Logger
Logs entry to a method.
entry(Object...) - Method in interface org.apache.logging.log4j.Logger
Logs entry to a method.
entry() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs entry to a method.
entry(Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs entry to a method.
ENTRY_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
Marker for method entry tracing.
equals(Object) - Method in class org.apache.logging.log4j.message.MapMessage
 
equals(Object) - Method in class org.apache.logging.log4j.message.ObjectMessage
 
equals(Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessage
 
equals(Object) - Method in class org.apache.logging.log4j.message.SimpleMessage
 
equals(Object) - Method in class org.apache.logging.log4j.message.StringFormattedMessage
 
equals(Object) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 
error(Marker, Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the ERROR level.
error(Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the ERROR level.
error(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the ERROR level.
error(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(Marker, String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the ERROR level.
error(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the ERROR level.
error(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the ERROR level.
error(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the ERROR level.
error(Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the ERROR level.
error(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the ERROR level.
error(String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the ERROR level.
error(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the ERROR level.
error(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the ERROR level.
error(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the ERROR level.
error(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the ERROR level.
error(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the ERROR level including the stack trace of the Throwable t passed as parameter.
error(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the ERROR level.
error(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the ERROR level.
error(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the ERROR level.
error(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the ERROR level.
error(Marker, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the ERROR level.
error(Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the ERROR level.
ERROR_MSG_SEPARATOR - Static variable in class org.apache.logging.log4j.message.ParameterizedMessage
Separator for error messages.
ERROR_PREFIX - Static variable in class org.apache.logging.log4j.message.ParameterizedMessage
Prefix for errors.
ERROR_SEPARATOR - Static variable in class org.apache.logging.log4j.message.ParameterizedMessage
Separator for errors.
ERROR_SUFFIX - Static variable in class org.apache.logging.log4j.message.ParameterizedMessage
Suffix for errors.
EVENT_MARKER - Static variable in class org.apache.logging.log4j.EventLogger
Define the Event Marker.
EventLogger - Class in org.apache.logging.log4j
Logs "Events" that are represented as StructuredDataMessages.
EXCEPTION_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
Marker for exception tracing.
exit() - Method in interface org.apache.logging.log4j.Logger
Logs exit from a method.
exit(R) - Method in interface org.apache.logging.log4j.Logger
Logs exiting from a method with the result.
exit() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs exit from a method.
exit(R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs exiting from a method with the result.
EXIT_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
Marker for method exit tracing.

F

fatal(Marker, Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the FATAL level.
fatal(Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the FATAL level.
fatal(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the FATAL level.
fatal(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(Marker, String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the FATAL level.
fatal(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the FATAL level.
fatal(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the FATAL level.
fatal(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the FATAL level.
fatal(Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the FATAL level.
fatal(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the FATAL level.
fatal(String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the FATAL level.
fatal(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the FATAL level.
fatal(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the FATAL level.
fatal(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the FATAL level.
fatal(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the FATAL level.
fatal(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the FATAL level including the stack trace of the Throwable t passed as parameter.
fatal(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the FATAL level.
fatal(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the FATAL level.
fatal(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the FATAL level.
fatal(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the FATAL level.
fatal(Marker, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the FATAL level.
fatal(Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the FATAL level.
FLOW_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
Marker for flow tracing.
format(String, Object[]) - Static method in class org.apache.logging.log4j.message.ParameterizedMessage
Replace placeholders in the given messagePattern with arguments.
formatMessage(String, String[]) - Method in class org.apache.logging.log4j.message.LocalizedMessage
Returns the formatted message after looking up the format in the resource bundle.
formatMessage(String, String[]) - Method in class org.apache.logging.log4j.message.ParameterizedMessage
 
formatMessage(String, Object...) - Method in class org.apache.logging.log4j.message.StringFormattedMessage
 

G

get(String) - Method in class org.apache.logging.log4j.message.MapMessage
Retrieve the value of the element with the specified key or null if the key is not present.
get(String) - Static method in class org.apache.logging.log4j.ThreadContext
Get the context identified by the key parameter.
getBooleanProperty(String, boolean) - Method in class org.apache.logging.log4j.util.PropsUtil
 
getBundle(String, Locale, boolean) - Method in class org.apache.logging.log4j.message.LocalizedMessage
Override this to use a ResourceBundle.Control in Java 6
getContext() - Static method in class org.apache.logging.log4j.LogManager
Returns the current LoggerContext.
getContext(boolean) - Static method in class org.apache.logging.log4j.LogManager
Returns a LoggerContext.
getContext(ClassLoader, boolean) - Static method in class org.apache.logging.log4j.LogManager
Returns a LoggerContext.
getContext(String, boolean) - Static method in class org.apache.logging.log4j.LogManager
Returns a LoggerContext
getContext(String, ClassLoader, boolean) - Static method in class org.apache.logging.log4j.LogManager
Returns a LoggerContext
getContext(String, ClassLoader, boolean) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
 
getContext(String, ClassLoader, boolean) - Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
Creates a LoggerContext.
getContext() - Static method in class org.apache.logging.log4j.ThreadContext
Get a copy of current thread's context Map.
getData() - Method in class org.apache.logging.log4j.message.MapMessage
Returns the message data as an unmodifiable Map.
getDepth() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Returns the number of elements in the stack.
getDepth() - Static method in class org.apache.logging.log4j.ThreadContext
Get the current nesting depth of this thread's stack.
getEnterpriseNumber() - Method in class org.apache.logging.log4j.message.StructuredDataId
Returns the enterprise number.
getExternalContext() - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
 
getExternalContext() - Method in interface org.apache.logging.log4j.spi.LoggerContext
An anchor for some other context, such as a ServletContext.
getFactory() - Static method in class org.apache.logging.log4j.LogManager
Returns the LoggerContextFactory.
getFormat() - Method in class org.apache.logging.log4j.message.MapMessage
Returns the message.
getFormat() - Method in interface org.apache.logging.log4j.message.Message
Returns the format portion of the Message.
getFormat() - Method in class org.apache.logging.log4j.message.ObjectMessage
Returns the object formatted using its toString method.
getFormat() - Method in class org.apache.logging.log4j.message.ParameterizedMessage
Returns the message pattern.
getFormat() - Method in class org.apache.logging.log4j.message.SimpleMessage
Returns the message.
getFormat() - Method in class org.apache.logging.log4j.message.StringFormattedMessage
Returns the message pattern.
getFormat() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Returns the message.
getFormat() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
Returns the title.
getFormats() - Method in class org.apache.logging.log4j.message.MapMessage
 
getFormats() - Method in interface org.apache.logging.log4j.message.MultiformatMessage
Returns the supported formats.
getFormats() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Returns the supported formats.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.MapMessage
Format the message and return it.
getFormattedMessage(String[]) - Method in class org.apache.logging.log4j.message.MapMessage
 
getFormattedMessage() - Method in interface org.apache.logging.log4j.message.Message
Returns the Message formatted as a String.
getFormattedMessage(String[]) - Method in interface org.apache.logging.log4j.message.MultiformatMessage
Returns the Message formatted as a String.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.ObjectMessage
Returns the formatted object message.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.ParameterizedMessage
Returns the formatted message.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.SimpleMessage
Returns the message.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.StringFormattedMessage
Returns the formatted message.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Format the message and return it.
getFormattedMessage(String[]) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Format the message according the the specified format.
getFormattedMessage() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
Returns the ThreadDump in printable format.
getFormattedStatus() - Method in class org.apache.logging.log4j.status.StatusData
Formats the StatusData for viewing.
getId() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Returns the id.
getImmutableContext() - Static method in class org.apache.logging.log4j.ThreadContext
Get an immutable copy of the current thread's context Map.
getImmutableStack() - Static method in class org.apache.logging.log4j.ThreadContext
Get an immutable copy of this current thread's context stack.
getLevel() - Method in class org.apache.logging.log4j.status.StatusData
Returns the logging level for the event.
getListeners() - Method in class org.apache.logging.log4j.status.StatusLogger
Returns a thread safe Iterator for the StatusListener.
getLogger(String) - Static method in class org.apache.logging.log4j.LogManager
Returns a Logger with the specified name.
getLogger(Class<?>) - Static method in class org.apache.logging.log4j.LogManager
Returns a Logger using the fully qualified name of the Class as the Logger name.
getLogger(Object) - Static method in class org.apache.logging.log4j.LogManager
Returns a Logger using the fully qualified class name of the value as the Logger name.
getLogger(String, String) - Static method in class org.apache.logging.log4j.LogManager
Returns a Logger with the specified name.
getLogger(String) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
 
getLogger(String) - Method in interface org.apache.logging.log4j.spi.LoggerContext
Returns a Logger.
getLogger() - Static method in class org.apache.logging.log4j.status.StatusLogger
Retrieve the StatusLogger.
getLoggerName() - Method in class org.apache.logging.log4j.message.LocalizedMessage
Returns the name of the Logger.
getLoggerName() - Method in interface org.apache.logging.log4j.message.LoggerNameAwareMessage
Returns the name of the Logger.
getMarker(String) - Static method in class org.apache.logging.log4j.MarkerManager
Retrieve a Marker or create a Marker that has no parent.
getMarker(String, String) - Static method in class org.apache.logging.log4j.MarkerManager
Retrieves or creates a Marker with the specified parent.
getMarker(String, Marker) - Static method in class org.apache.logging.log4j.MarkerManager
Retrieves or creates a Marker with the specified parent.
getMessage() - Method in class org.apache.logging.log4j.status.StatusData
Returns the message associated with the event.
getName() - Method in interface org.apache.logging.log4j.Logger
Gets the logger name.
getName() - Method in interface org.apache.logging.log4j.Marker
Returns the name of this Marker.
getName() - Method in class org.apache.logging.log4j.message.StructuredDataId
Returns the StructuredDataId name.
getName() - Method in class org.apache.logging.log4j.spi.AbstractLogger
 
getOptional() - Method in class org.apache.logging.log4j.message.StructuredDataId
Returns a list of optional keys.
getParameters() - Method in class org.apache.logging.log4j.message.MapMessage
Returns the data elements as if they were parameters on the logging event.
getParameters() - Method in interface org.apache.logging.log4j.message.Message
Returns parameter values, if any.
getParameters() - Method in class org.apache.logging.log4j.message.ObjectMessage
Returns the object as if it were a parameter.
getParameters() - Method in class org.apache.logging.log4j.message.ParameterizedMessage
Returns the message parameters.
getParameters() - Method in class org.apache.logging.log4j.message.SimpleMessage
Returns null since there are no parameters.
getParameters() - Method in class org.apache.logging.log4j.message.StringFormattedMessage
Returns the message parameters.
getParameters() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
Returns an array with a single element, a Map containing the ThreadInformation as the key.
getParent() - Method in interface org.apache.logging.log4j.Marker
Returns the parent of this Marker.
getRequired() - Method in class org.apache.logging.log4j.message.StructuredDataId
Returns a list of required keys.
getStackTraceElement() - Method in class org.apache.logging.log4j.status.StatusData
Returns the StackTraceElement for the method that created the event.
getStatusData() - Method in class org.apache.logging.log4j.status.StatusLogger
Returns a List of all events as StatusData objects.
getStringProperty(String) - Method in class org.apache.logging.log4j.util.PropsUtil
 
getStringProperty(String, String) - Method in class org.apache.logging.log4j.util.PropsUtil
 
getThrowable() - Method in class org.apache.logging.log4j.message.ParameterizedMessage
Returns the Throwable that was given as the last argument, if any.
getThrowable() - Method in class org.apache.logging.log4j.status.StatusData
Returns the Throwable associated with the event.
getTimestamp() - Method in interface org.apache.logging.log4j.message.TimestampMessage
Returns the timestamp.
getTimestamp() - Method in class org.apache.logging.log4j.status.StatusData
Returns the event's timestamp.
getType() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Set the type.

H

hashCode() - Method in class org.apache.logging.log4j.message.MapMessage
 
hashCode() - Method in class org.apache.logging.log4j.message.ObjectMessage
 
hashCode() - Method in class org.apache.logging.log4j.message.ParameterizedMessage
 
hashCode() - Method in class org.apache.logging.log4j.message.SimpleMessage
 
hashCode() - Method in class org.apache.logging.log4j.message.StringFormattedMessage
 
hashCode() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 
hasLogger(String) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
 
hasLogger(String) - Method in interface org.apache.logging.log4j.spi.LoggerContext
Detects if a Logger with the specified name exists.

I

identityToString(Object) - Static method in class org.apache.logging.log4j.message.ParameterizedMessage
This method returns the same as if Object.toString() would not have been overridden in obj.
info(Marker, Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the INFO level.
info(Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the INFO level.
info(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the INFO level.
info(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(Marker, String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the INFO level.
info(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the INFO level.
info(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the TRACE level.
info(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the INFO level.
info(Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the INFO level.
info(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the INFO level.
info(String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the INFO level.
info(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the INFO level.
info(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the INFO level.
info(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the INFO level.
info(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the INFO level.
info(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the INFO level including the stack trace of the Throwable t passed as parameter.
info(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the INFO level.
info(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the INFO level.
info(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the TRACE level.
info(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the INFO level.
info(Marker, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the INFO level.
info(Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the INFO level.
intLevel() - Method in enum org.apache.logging.log4j.Level
Returns the integer value of the Level.
isAtLeastAsSpecificAs(Level) - Method in enum org.apache.logging.log4j.Level
Compares this level against the level passed as an argument and returns true if this level is the same or more specific.
isAtLeastAsSpecificAs(int) - Method in enum org.apache.logging.log4j.Level
Compares this level against the level passed as an argument and returns true if this level is the same or more specific.
isDebugEnabled() - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the DEBUG Level.
isDebugEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the DEBUG Level.
isDebugEnabled() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the DEBUG Level.
isDebugEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the DEBUG Level.
isEmpty() - Static method in class org.apache.logging.log4j.ThreadContext
Returns true if the Map is empty.
isEnabled(Level) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the the given Level.
isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Determine if logging is enabled.
isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Determine if logging is enabled.
isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Determine if logging is enabled.
isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Determine if logging is enabled.
isEnabled(Level) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the the given Level.
isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Determine if logging is enabled.
isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Detect if the event would be logged.
isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Detect if the event would be logged.
isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Detect if the event would be logged.
isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Detect if the event would be logged.
isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Detect if the event would be logged.
isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.status.StatusLogger
 
isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
 
isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.status.StatusLogger
 
isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
 
isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
 
isEnabled(Level, Marker) - Method in class org.apache.logging.log4j.status.StatusLogger
 
isErrorEnabled() - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the ERROR Level.
isErrorEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the ERROR Level.
isErrorEnabled() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the ERROR Level.
isErrorEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the ERROR Level.
isFatalEnabled() - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the FATAL Level.
isFatalEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the FATAL Level.
isFatalEnabled() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the FATAL Level.
isFatalEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the FATAL Level.
isInfoEnabled() - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the INFO Level.
isInfoEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the INFO Level.
isInfoEnabled() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the INFO Level.
isInfoEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the INFO Level.
isInstanceOf(Marker) - Method in interface org.apache.logging.log4j.Marker
Checks whether this Marker is an instance of the specified Marker.
isInstanceOf(String) - Method in interface org.apache.logging.log4j.Marker
Checks whether this Marker is an instance of the specified Marker.
isReserved() - Method in class org.apache.logging.log4j.message.StructuredDataId
Indicates if the id is reserved.
isTraceEnabled() - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the TRACE level.
isTraceEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the TRACE level.
isTraceEnabled() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the TRACE Level.
isTraceEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the TRACE Level.
isWarnEnabled() - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the WARN Level.
isWarnEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
Checks whether this Logger is enabled for the WARN Level.
isWarnEnabled() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the WARN Level.
isWarnEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Checks whether this Logger is enabled for the WARN Level.

L

lessOrEqual(Level) - Method in enum org.apache.logging.log4j.Level
Compares the specified Level against this one.
lessOrEqual(int) - Method in enum org.apache.logging.log4j.Level
Compares the specified Level against this one.
Level - Enum in org.apache.logging.log4j
Levels used for identifying the severity of an event.
LocalizedMessage - Class in org.apache.logging.log4j.message
This class is not the recommended way to Localize messages.
LocalizedMessage(String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Locale, String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, Locale, String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(Locale, String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
This method returns a LocalizedMessage which contains the arguments converted to String as well as an optional Throwable.
LocalizedMessage(String, String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Locale, String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, Locale, String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(Locale, String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Locale, String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, Locale, String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(Locale, String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(String, Locale, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(ResourceBundle, Locale, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
LocalizedMessage(Locale, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
 
log(Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
log(Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with location information.
log(Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
Log an event.
log(StatusData) - Method in class org.apache.logging.log4j.status.StatusConsoleListener
Writes status messages to the console.
log(StatusData) - Method in interface org.apache.logging.log4j.status.StatusListener
Called as events occur to process the StatusData.
log(Marker, String, Level, Message, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
Add an event.
logEvent(StructuredDataMessage) - Static method in class org.apache.logging.log4j.EventLogger
Log events with a level of ALL.
logEvent(StructuredDataMessage, Level) - Static method in class org.apache.logging.log4j.EventLogger
Log events and specify the logging level.
Logger - Interface in org.apache.logging.log4j
This is the central interface in the log4j package.
logger - Variable in class org.apache.logging.log4j.spi.AbstractLoggerWrapper
The wrapped Logger.
LoggerContext - Interface in org.apache.logging.log4j.spi
Anchor point for logging implementations.
LoggerContextFactory - Interface in org.apache.logging.log4j.spi
Implemented by factories that create LoggerContext objects.
LoggerNameAwareMessage - Interface in org.apache.logging.log4j.message
Message that is interested in the name of the Logger.
LoggingException - Exception in org.apache.logging.log4j
Exception thrown when a exception occurs while logging.
LoggingException(String) - Constructor for exception org.apache.logging.log4j.LoggingException
Constructs a LoggingException with a message.
LoggingException(String, Exception) - Constructor for exception org.apache.logging.log4j.LoggingException
Constructs a LoggingException with a message and a chained Exception.
LoggingException(Exception) - Constructor for exception org.apache.logging.log4j.LoggingException
Constructs a Logging Exception with a chained Exception and no message.
LogManager - Class in org.apache.logging.log4j
The anchor point for the logging system.
LogManager() - Constructor for class org.apache.logging.log4j.LogManager
Prevents instantiation

M

makeId(StructuredDataId) - Method in class org.apache.logging.log4j.message.StructuredDataId
Creates an id using another id to supply default values.
makeId(String, int) - Method in class org.apache.logging.log4j.message.StructuredDataId
Creates an id based on the current id.
MapMessage - Class in org.apache.logging.log4j.message
Represents a Message that consists of a Map.
MapMessage() - Constructor for class org.apache.logging.log4j.message.MapMessage
Constructor.
MapMessage(Map<String, String>) - Constructor for class org.apache.logging.log4j.message.MapMessage
Constructor based on an existing Map.
MapMessage.MapFormat - Enum in org.apache.logging.log4j.message
When set as the format specifier causes the Map to be formatted as XML.
Marker - Interface in org.apache.logging.log4j
Markers are objects that are used to add easily filterable information to log messages.
MarkerManager - Class in org.apache.logging.log4j
Applications create Markers by using the Marker Manager.
MAX_STATUS_ENTRIES - Static variable in class org.apache.logging.log4j.status.StatusLogger
System property that can be configured with the number of entries in the queue.
Message - Interface in org.apache.logging.log4j.message
An interface for various Message implementations that can be logged.
META - Static variable in class org.apache.logging.log4j.message.StructuredDataId
RFC 5424 Meta.
MultiformatMessage - Interface in org.apache.logging.log4j.message
A Message that can render itself in more than one way.

N

newInstance(Map<String, String>) - Method in class org.apache.logging.log4j.message.MapMessage
 
newInstance(Map<String, String>) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 

O

ObjectMessage - Class in org.apache.logging.log4j.message
Handles messages that contain an Object.
ObjectMessage(Object) - Constructor for class org.apache.logging.log4j.message.ObjectMessage
Create the ObjectMessage.
org.apache.logging.log4j - package org.apache.logging.log4j
Public API for Log4j 2.0.
org.apache.logging.log4j.message - package org.apache.logging.log4j.message
Public Message Types used for Log4j 2.0.
org.apache.logging.log4j.simple - package org.apache.logging.log4j.simple
 
org.apache.logging.log4j.spi - package org.apache.logging.log4j.spi
Internal interfaces and classes to be used by authors of logging implementations.
org.apache.logging.log4j.status - package org.apache.logging.log4j.status
Status API for Log4j 2.0.
org.apache.logging.log4j.util - package org.apache.logging.log4j.util
 
ORIGIN - Static variable in class org.apache.logging.log4j.message.StructuredDataId
RFC 5424 Origin.

P

ParameterizedMessage - Class in org.apache.logging.log4j.message
Handles messages that consist of a format string containing '{}' to represent each replaceable token, and the parameters.
ParameterizedMessage(String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
Create the parameterizedMessage.
ParameterizedMessage(String, Object[], Throwable) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
 
ParameterizedMessage(String, Object[]) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
This method returns a ParameterizedMessage which contains the arguments converted to String as well as an optional Throwable.
ParameterizedMessage(String, Object) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
Constructor with a pattern and a single parameter.
ParameterizedMessage(String, Object, Object) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
Constructor with a pattern and two parameters.
peek() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Returns the element at the top of the stack without removing it or null if the stack is empty.
peek() - Static method in class org.apache.logging.log4j.ThreadContext
Looks at the last diagnostic context at the top of this NDC without removing it.
pop() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Returns the element at the top of the stack.
pop() - Static method in class org.apache.logging.log4j.ThreadContext
Returns the value of the last item placed on the stack.
PropsUtil - Class in org.apache.logging.log4j.util
Utility class to help with accessing System Properties.
PropsUtil(Properties) - Constructor for class org.apache.logging.log4j.util.PropsUtil
 
PropsUtil(String) - Constructor for class org.apache.logging.log4j.util.PropsUtil
 
push(String) - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Add an element to the stack.
push(String) - Method in class org.apache.logging.log4j.ThreadContext.ImmutableStack
 
push(String) - Static method in class org.apache.logging.log4j.ThreadContext
Push new diagnostic context information for the current thread.
push(String, Object...) - Static method in class org.apache.logging.log4j.ThreadContext
Push new diagnostic context information for the current thread.
put(String, String) - Method in class org.apache.logging.log4j.message.MapMessage
Add an item to the data Map.
put(String, String) - Method in class org.apache.logging.log4j.ThreadContext.ImmutableMap
 
put(String, String) - Static method in class org.apache.logging.log4j.ThreadContext
Put a context value (the o parameter) as identified with the key parameter into the current thread's context map.
putAll(Map<String, String>) - Method in class org.apache.logging.log4j.message.MapMessage
Add all the elements from the specified Map.
putAll(Map<? extends String, ? extends String>) - Method in class org.apache.logging.log4j.ThreadContext.ImmutableMap
 

R

RECURSION_PREFIX - Static variable in class org.apache.logging.log4j.message.ParameterizedMessage
Prefix for recursion.
RECURSION_SUFFIX - Static variable in class org.apache.logging.log4j.message.ParameterizedMessage
Suffix for recursion.
registerListener(StatusListener) - Method in class org.apache.logging.log4j.status.StatusLogger
Register a new listener.
remove(String) - Method in class org.apache.logging.log4j.message.MapMessage
Remove the element with the specified name.
remove(Object) - Method in class org.apache.logging.log4j.ThreadContext.ImmutableMap
 
remove(String) - Static method in class org.apache.logging.log4j.ThreadContext
Remove the the context identified by the key parameter.
removeListener(StatusListener) - Method in class org.apache.logging.log4j.status.StatusLogger
Remove a StatusListener.
removeStack() - Static method in class org.apache.logging.log4j.ThreadContext
Remove the diagnostic context for this thread.
RESERVED - Static variable in class org.apache.logging.log4j.message.StructuredDataId
Reserved enterprise number.
reset() - Method in class org.apache.logging.log4j.status.StatusLogger
Clears the list of status events and listeners.
ROOT_LOGGER_NAME - Static variable in class org.apache.logging.log4j.LogManager
The name of the root Logger.

S

setFilters(String...) - Method in class org.apache.logging.log4j.status.StatusConsoleListener
Adds package name filters to exclude.
setId(String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Set the id from a String.
setId(StructuredDataId) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
Set the id.
setLevel(Level) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
setLevel(Level) - Method in class org.apache.logging.log4j.status.StatusConsoleListener
Sets the level to a new value.
setLevel(Level) - Method in class org.apache.logging.log4j.status.StatusLogger
 
setLoggerName(String) - Method in class org.apache.logging.log4j.message.LocalizedMessage
Set the name of the Logger.
setLoggerName(String) - Method in interface org.apache.logging.log4j.message.LoggerNameAwareMessage
The name of the Logger.
setMessageFormat(String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 
setStack(Collection<String>) - Static method in class org.apache.logging.log4j.ThreadContext
Set this thread's stack.
setStream(PrintStream) - Method in class org.apache.logging.log4j.simple.SimpleLogger
 
setType(String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 
SimpleLogger - Class in org.apache.logging.log4j.simple
This is the default logger that is used when no suitable logging implementation is available.
SimpleLogger(String, Level, boolean, boolean, boolean, boolean, String, PropsUtil, PrintStream) - Constructor for class org.apache.logging.log4j.simple.SimpleLogger
 
SimpleLoggerContext - Class in org.apache.logging.log4j.simple
 
SimpleLoggerContext() - Constructor for class org.apache.logging.log4j.simple.SimpleLoggerContext
 
SimpleLoggerContextFactory - Class in org.apache.logging.log4j.simple
 
SimpleLoggerContextFactory() - Constructor for class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
 
SimpleMessage - Class in org.apache.logging.log4j.message
The simplest possible implementation of Message.
SimpleMessage() - Constructor for class org.apache.logging.log4j.message.SimpleMessage
Basic constructor.
SimpleMessage(String) - Constructor for class org.apache.logging.log4j.message.SimpleMessage
Constructor that includes the message.
StatusConsoleListener - Class in org.apache.logging.log4j.status
StatusListener that writes to the Console.
StatusConsoleListener() - Constructor for class org.apache.logging.log4j.status.StatusConsoleListener
Creates the StatusConsoleListener using either the level configured by the "org.apache.logging.log4j.StatusLevel" system property if it is set or to a default value of FATAL.
StatusConsoleListener(Level) - Constructor for class org.apache.logging.log4j.status.StatusConsoleListener
Creates the StatusConsoleListener using the supplied Level.
StatusConsoleListener(Level, PrintStream) - Constructor for class org.apache.logging.log4j.status.StatusConsoleListener
Creates the StatusConsoleListener using the supplied Level.
StatusData - Class in org.apache.logging.log4j.status
The Status data.
StatusData(StackTraceElement, Level, Message, Throwable) - Constructor for class org.apache.logging.log4j.status.StatusData
Creates the StatusData object.
StatusListener - Interface in org.apache.logging.log4j.status
Interface that allows implementors to be notified of events in the logging system.
StatusLogger - Class in org.apache.logging.log4j.status
Mechanism to record events that occur in the logging system.
StringFormattedMessage - Class in org.apache.logging.log4j.message
Handles messages that consist of a format string conforming to java.util.Formatter.
StringFormattedMessage(String, Object...) - Constructor for class org.apache.logging.log4j.message.StringFormattedMessage
 
StructuredDataId - Class in org.apache.logging.log4j.message
The StructuredData identifier.
StructuredDataId(String, String[], String[]) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
 
StructuredDataId(String, int, String[], String[]) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
A Constructor that helps conformance to RFC 5424.
StructuredDataMessage - Class in org.apache.logging.log4j.message
Represents a Message that conforms to RFC 5424 (http://tools.ietf.org/html/rfc5424).
StructuredDataMessage(String, String, String) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
Constructor based on a String id.
StructuredDataMessage(String, String, String, Map<String, String>) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
Constructor based on a String id.
StructuredDataMessage(StructuredDataId, String, String) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
Constructor based on a StructuredDataId.
StructuredDataMessage(StructuredDataId, String, String, Map<String, String>) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
Constructor based on a StructuredDataId.
StructuredDataMessage() - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
Basic constructor.
StructuredDataMessage.Format - Enum in org.apache.logging.log4j.message
Supported formats.
SYSTEM_PREFIX - Static variable in class org.apache.logging.log4j.simple.SimpleLoggerContext
All system properties used by SimpleLog start with this

T

ThreadContext - Class in org.apache.logging.log4j
The ThreadContext allows applications to store information either in a Map

ThreadContext.ContextStack - Interface in org.apache.logging.log4j
The ThreadContext Stack interface.
ThreadContext.ImmutableMap - Class in org.apache.logging.log4j
An immutable Context Map.
ThreadContext.ImmutableMap() - Constructor for class org.apache.logging.log4j.ThreadContext.ImmutableMap
 
ThreadContext.ImmutableMap(Map<String, String>) - Constructor for class org.apache.logging.log4j.ThreadContext.ImmutableMap
 
ThreadContext.ImmutableStack - Class in org.apache.logging.log4j
An immutable ContextStack.
ThreadContext.ImmutableStack() - Constructor for class org.apache.logging.log4j.ThreadContext.ImmutableStack
 
ThreadContext.ImmutableStack(Collection<String>) - Constructor for class org.apache.logging.log4j.ThreadContext.ImmutableStack
 
ThreadContext.ImmutableStack(ThreadContext.ThreadContextStack) - Constructor for class org.apache.logging.log4j.ThreadContext.ImmutableStack
 
ThreadDumpMessage - Class in org.apache.logging.log4j.message
Captures information about all running Threads.
ThreadDumpMessage(String) - Constructor for class org.apache.logging.log4j.message.ThreadDumpMessage
Generate a ThreadDumpMessage with a title.
throwing(Level, T) - Method in interface org.apache.logging.log4j.Logger
Logs an exception or error to be thrown.
throwing(T) - Method in interface org.apache.logging.log4j.Logger
Logs an exception or error to be thrown.
throwing(T) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a Throwable to be thrown.
throwing(Level, T) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a Throwable to be thrown.
THROWING_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
Marker for throwing exceptions.
TIME_QUALITY - Static variable in class org.apache.logging.log4j.message.StructuredDataId
RFC 5424 Time Quality.
TimestampMessage - Interface in org.apache.logging.log4j.message
Messages that use this interface will cause the timestamp in the message to be used instead of the timestmap in the LogEvent.
toLevel(String) - Static method in enum org.apache.logging.log4j.Level
Converts the string passed as argument to a level.
toLevel(String, Level) - Static method in enum org.apache.logging.log4j.Level
Converts the string passed as argument to a level.
toString() - Method in class org.apache.logging.log4j.message.MapMessage
 
toString() - Method in class org.apache.logging.log4j.message.ObjectMessage
 
toString() - Method in class org.apache.logging.log4j.message.ParameterizedMessage
 
toString() - Method in class org.apache.logging.log4j.message.SimpleMessage
 
toString() - Method in class org.apache.logging.log4j.message.StringFormattedMessage
 
toString() - Method in class org.apache.logging.log4j.message.StructuredDataId
 
toString() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 
toString() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
 
toString() - Method in class org.apache.logging.log4j.spi.AbstractLogger
Returns a String representation of this instance in the form "name".
trace(Marker, Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the TRACE level.
trace(Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the TRACE level.
trace(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the TRACE level.
trace(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(Marker, String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the TRACE level.
trace(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the TRACE level.
trace(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the TRACE level.
trace(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the TRACE level.
trace(Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the TRACE level.
trace(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the TRACE level.
trace(String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the TRACE level.
trace(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the TRACE level.
trace(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the TRACE level.
trace(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the TRACE level.
trace(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the TRACE level.
trace(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the TRACE level including the stack trace of the Throwable t passed as parameter.
trace(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the TRACE level.
trace(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the TRACE level.
trace(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the TRACE level.
trace(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the TRACE level.
trace(Marker, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the TRACE level.
trace(Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the TRACE level.
trim(int) - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
Trims elements from the end of the stack.
trim(int) - Method in class org.apache.logging.log4j.ThreadContext.ImmutableStack
 
trim(int) - Static method in class org.apache.logging.log4j.ThreadContext
Trims elements from this diagnostic context.

V

validate(String, String) - Method in class org.apache.logging.log4j.message.MapMessage
 
validate(String, String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
 
valueOf(String) - Static method in enum org.apache.logging.log4j.Level
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.logging.log4j.message.MapMessage.MapFormat
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.apache.logging.log4j.message.StructuredDataMessage.Format
Returns the enum constant of this type with the specified name.
valueOf(Class<T>, String) - Static method in class org.apache.logging.log4j.util.EnglishEnums
Returns the Result for the given string.
valueOf(Class<T>, String, T) - Static method in class org.apache.logging.log4j.util.EnglishEnums
Returns an enum value for the given string.
values() - Static method in enum org.apache.logging.log4j.Level
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.logging.log4j.message.MapMessage.MapFormat
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.apache.logging.log4j.message.StructuredDataMessage.Format
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(Marker, Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the WARN level.
warn(Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the WARN level.
warn(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the WARN level.
warn(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(Marker, String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the WARN level.
warn(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the WARN level.
warn(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(Message) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the WARN level.
warn(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message with the specific Marker at the WARN level.
warn(Object) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the WARN level.
warn(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(String) - Method in interface org.apache.logging.log4j.Logger
Logs a message object with the WARN level.
warn(String, Object...) - Method in interface org.apache.logging.log4j.Logger
Logs a message with parameters at the WARN level.
warn(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the WARN level.
warn(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the WARN level.
warn(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the WARN level.
warn(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message object with the WARN level.
warn(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message at the WARN level including the stack trace of the Throwable t passed as parameter.
warn(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the WARN level.
warn(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with parameters at the WARN level.
warn(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the WARN level.
warn(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the WARN level.
warn(Marker, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the WARN level.
warn(Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
Logs a message with the specific Marker at the WARN level.
writeReplace() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
Creates a ThreadDumpMessageProxy that can be serialized.

A C D E F G H I L M N O P R S T V W

Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.