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.
- AbstractLogger(String, MessageFactory) -
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, MessageFactory) -
Constructor for class org.apache.logging.log4j.spi.AbstractLoggerWrapper
- Constructor that wraps and existing Logger.
- AbstractMessageFactory - Class in org.apache.logging.log4j.message
- Provides an abstract superclass for MessageFactory implementations with default implementations.
- AbstractMessageFactory() -
Constructor for class org.apache.logging.log4j.message.AbstractMessageFactory
-
- add(String) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- add(String) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- addAll(Collection<? extends String>) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- addAll(Collection<? extends String>) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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 class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- asList() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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
- Formats the structured data as described in RFC 5424.
- asString(String) -
Method in class org.apache.logging.log4j.message.StructuredDataMessage
- Formats the structured data as described in RFC 5424.
- asString(StructuredDataMessage.Format, StructuredDataId) -
Method in class org.apache.logging.log4j.message.StructuredDataMessage
- Formats 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(Level, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a Throwable that has been caught.
- catching(Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a Throwable at the
ERROR
level..
- catching(String, Level, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a Throwable that has been caught with location information.
- CATCHING_MARKER -
Static variable in class org.apache.logging.log4j.spi.AbstractLogger
- Marker for catching exceptions.
- checkMessageFactory(Logger, MessageFactory) -
Static method in class org.apache.logging.log4j.spi.AbstractLogger
- Checks that the message factory a logger was created with is the same as the given messageFactory.
- clear() -
Method in class org.apache.logging.log4j.message.MapMessage
- Clear the data.
- clear() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Clear the context.
- clear() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- clear() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- clear() -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Clear the context.
- 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.
- 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.
- contains(Object) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- contains(Object) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- containsAll(Collection<?>) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- containsAll(Collection<?>) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- containsKey(String) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Determine if the key is in the context.
- containsKey(String) -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Determine if the key is in the context.
- containsKey(String) -
Static method in class org.apache.logging.log4j.ThreadContext
- Determine if the key is in the context.
- copy() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- copy() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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(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.
- debug(Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
DEBUG
level.
- 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(Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with 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(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(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(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(String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
DEBUG
level.
- debug(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at 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.
- 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 formatting dates
- DEFAULT_MESSAGE_FACTORY_CLASS -
Static variable in class org.apache.logging.log4j.spi.AbstractLogger
- The default MessageFactory class.
- DefaultThreadContextMap - Class in org.apache.logging.log4j.spi
- The actual ThreadContext Map.
- DefaultThreadContextMap(boolean) -
Constructor for class org.apache.logging.log4j.spi.DefaultThreadContextMap
-
- DefaultThreadContextStack - Class in org.apache.logging.log4j.spi
- A copy-on-write thread-safe variant of
org.apache.logging.log4j.spi.ThreadContextStack
in which all mutative
operations (add, pop, and so on) are implemented by making a fresh copy of
the underlying list. - DefaultThreadContextStack(boolean) -
Constructor for class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
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.
- 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(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs entry to a method with location information.
- 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.FormattedMessage
-
- equals(Object) -
Method in class org.apache.logging.log4j.message.MapMessage
-
- equals(Object) -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
-
- 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(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(Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
ERROR
level.
- 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(Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with 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(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(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(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(String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
ERROR
level.
- error(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at 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_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(String, R) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs exiting from a method with the result and location information.
- 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(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.
- fatal(Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
FATAL
level.
- 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(Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with 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(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(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(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(String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
FATAL
level.
- fatal(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at 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.
- findClassLoader() -
Static method in class org.apache.logging.log4j.util.ProviderUtil
-
- 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, Object...) -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
-
- formatMessage(String, String[]) -
Method in class org.apache.logging.log4j.message.ParameterizedMessage
-
- formatMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.StringFormattedMessage
-
- FormattedMessage - Class in org.apache.logging.log4j.message
- Handles messages that contain a format String.
- FormattedMessage(String, Object[], Throwable) -
Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
- FormattedMessage(String, Object[]) -
Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
- FormattedMessage(String, Object) -
Constructor for class org.apache.logging.log4j.message.FormattedMessage
- Constructor with a pattern and a single parameter.
- FormattedMessage(String, Object, Object) -
Constructor for class org.apache.logging.log4j.message.FormattedMessage
- Constructor with a pattern and two parameters.
- FormattedMessageFactory - Class in org.apache.logging.log4j.message
- Creates
FormattedMessage
instances for
FormattedMessageFactory.newMessage(String, Object...)
. - FormattedMessageFactory() -
Constructor for class org.apache.logging.log4j.message.FormattedMessageFactory
-
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) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Get the context identified by the
key
parameter.
- get(String) -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Get the context identified by the
key
parameter.
- get(String) -
Static method in class org.apache.logging.log4j.ThreadContext
- Get the context value identified by the
key
parameter.
- getBooleanProperty(String) -
Method in class org.apache.logging.log4j.util.PropertiesUtil
-
- getBooleanProperty(String, boolean) -
Method in class org.apache.logging.log4j.util.PropertiesUtil
-
- getBundle(String, Locale, boolean) -
Method in class org.apache.logging.log4j.message.LocalizedMessage
- Override this to use a ResourceBundle.Control in Java 6
- getClassName() -
Method in class org.apache.logging.log4j.spi.Provider
-
- 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(ClassLoader, boolean, URI) -
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, URI) -
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(String, ClassLoader, boolean, URI) -
Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
- Creates a
LoggerContext
.
- getContext() -
Static method in class org.apache.logging.log4j.ThreadContext
- Returns a mutable copy of current thread's context Map.
- getCopy() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Returns a non-
null
mutable copy of the ThreadContext Map.
- getCopy() -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Get a non-
null
mutable 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 class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- getDepth() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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.FormattedMessage
- Returns the message pattern.
- getFormat() -
Method in class org.apache.logging.log4j.message.LocalizedMessage
-
- getFormat() -
Method in class org.apache.logging.log4j.message.MapMessage
- Returns the message.
- getFormat() -
Method in interface org.apache.logging.log4j.message.Message
- Gets the format portion of the Message.
- getFormat() -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
- Returns the message pattern.
- 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.FormattedMessage
- Returns the formatted message.
- getFormattedMessage() -
Method in class org.apache.logging.log4j.message.LocalizedMessage
- Returns the formatted message after looking up the format in the resource bundle.
- 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
- Gets the Message formatted as a String.
- getFormattedMessage() -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
- Returns the formatted message.
- 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
- Formats the message and return it.
- getFormattedMessage(String[]) -
Method in class org.apache.logging.log4j.message.StructuredDataMessage
- Formats 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.
- getFormatterLogger(Class<?>) -
Static method in class org.apache.logging.log4j.LogManager
- Returns a formatter Logger using the fully qualified name of the Class as the Logger name.
- getFormatterLogger(Object) -
Static method in class org.apache.logging.log4j.LogManager
- Returns a formatter Logger using the fully qualified name of the value's Class as the Logger name.
- getFormatterLogger(String) -
Static method in class org.apache.logging.log4j.LogManager
- Returns a formatter Logger with the specified name.
- getId() -
Method in class org.apache.logging.log4j.message.StructuredDataMessage
- Returns the id.
- getImmutableContext() -
Static method in class org.apache.logging.log4j.ThreadContext
- Returns an immutable view of the current thread's context Map.
- getImmutableMapOrNull() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Returns either
null
or an immutable view of the context Map.
- getImmutableMapOrNull() -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Return an immutable view on the context Map or
null
if the context map is empty.
- getImmutableStack() -
Static method in class org.apache.logging.log4j.ThreadContext
- Get an immutable copy of this current thread's context stack.
- getIntegerProperty(String, int) -
Method in class org.apache.logging.log4j.util.PropertiesUtil
-
- getLevel() -
Method in class org.apache.logging.log4j.simple.SimpleLogger
-
- getLevel() -
Method in class org.apache.logging.log4j.status.StatusData
- Returns the logging level for the event.
- getLevel() -
Method in class org.apache.logging.log4j.status.StatusLogger
-
- getListeners() -
Method in class org.apache.logging.log4j.status.StatusLogger
- Returns a thread safe Iterator for the StatusListener.
- getLogger() -
Static method in class org.apache.logging.log4j.LogManager
- Returns a Logger with the name of the calling class.
- 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(Class<?>, MessageFactory) -
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(MessageFactory) -
Static method in class org.apache.logging.log4j.LogManager
- Returns a Logger with the name of the calling class.
- 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(Object, MessageFactory) -
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) -
Static method in class org.apache.logging.log4j.LogManager
- Returns a Logger with the specified name.
- getLogger(String, MessageFactory) -
Static method in class org.apache.logging.log4j.LogManager
- Returns a Logger with the specified 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, MessageFactory) -
Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
-
- getLogger(String) -
Method in interface org.apache.logging.log4j.spi.LoggerContext
- Returns a Logger.
- getLogger(String, MessageFactory) -
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.
- getLongProperty(String, long) -
Method in class org.apache.logging.log4j.util.PropertiesUtil
-
- 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(String, Object[], Throwable) -
Method in class org.apache.logging.log4j.message.FormattedMessage
-
- getMessage() -
Method in class org.apache.logging.log4j.status.StatusData
- Returns the message associated with the event.
- getMessageFactory() -
Method in interface org.apache.logging.log4j.Logger
- Gets the message factory used to convert message Objects and Strings into actual log Messages.
- getMessageFactory() -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Gets the message factory.
- 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.FormattedMessage
- Returns the message parameters.
- getParameters() -
Method in class org.apache.logging.log4j.message.LocalizedMessage
-
- 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
- Gets parameter values, if any.
- getParameters() -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
- Returns the message parameters.
- 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.
- getPriority() -
Method in class org.apache.logging.log4j.spi.Provider
-
- getProperties() -
Static method in class org.apache.logging.log4j.util.PropertiesUtil
-
- getProviders() -
Static method in class org.apache.logging.log4j.util.ProviderUtil
-
- getRequired() -
Method in class org.apache.logging.log4j.message.StructuredDataId
- Returns a list of required keys.
- getRootLogger() -
Static method in class org.apache.logging.log4j.LogManager
- Returns the root logger.
- 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.
- getStatusLevel() -
Method in class org.apache.logging.log4j.status.StatusConsoleListener
- Return the Log Level for which the Listener should receive events.
- getStatusLevel() -
Method in interface org.apache.logging.log4j.status.StatusListener
- Return the Log Level that this listener wants included.
- getStringProperty(String) -
Method in class org.apache.logging.log4j.util.PropertiesUtil
-
- getStringProperty(String, String) -
Method in class org.apache.logging.log4j.util.PropertiesUtil
-
- getSystemProperties() -
Static method in class org.apache.logging.log4j.util.PropertiesUtil
- Return the system properties or an empty Properties object if an error occurs.
- getThreadContextMap() -
Method in class org.apache.logging.log4j.spi.Provider
-
- getThrowable() -
Method in class org.apache.logging.log4j.message.FormattedMessage
- Always returns null.
- getThrowable() -
Method in class org.apache.logging.log4j.message.LocalizedMessage
-
- getThrowable() -
Method in class org.apache.logging.log4j.message.MapMessage
- Always returns null.
- getThrowable() -
Method in interface org.apache.logging.log4j.message.Message
- Gets the throwable, if any.
- getThrowable() -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
- Return the throwable passed to the Message.
- getThrowable() -
Method in class org.apache.logging.log4j.message.ObjectMessage
- Gets the message if it is a throwable.
- 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.message.SimpleMessage
- Always returns null.
- getThrowable() -
Method in class org.apache.logging.log4j.message.StringFormattedMessage
- Return the throwable passed to the Message.
- getThrowable() -
Method in class org.apache.logging.log4j.message.ThreadDumpMessage
- Always returns null.
- 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
- Sets the type.
- getURL() -
Method in class org.apache.logging.log4j.spi.Provider
-
H
- hashCode() -
Method in class org.apache.logging.log4j.message.FormattedMessage
-
- hashCode() -
Method in class org.apache.logging.log4j.message.MapMessage
-
- hashCode() -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
-
- 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.
- hasProviders() -
Static method in class org.apache.logging.log4j.util.ProviderUtil
-
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
INFO
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(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.
- info(Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
INFO
level.
- 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(Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with 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(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(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(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(String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
INFO
level.
- info(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at 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.
- INSTANCE -
Static variable in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- Instance of StringFormatterMessageFactory.
- INSTANCE -
Static variable in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- Instance of StringFormatterMessageFactory.
- 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() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Returns true if the Map is empty.
- isEmpty() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- isEmpty() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- isEmpty() -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Returns true if the Map is empty.
- 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) -
Method in interface org.apache.logging.log4j.Logger
- Checks whether this logger is enabled at the specified level and an optional Marker.
- 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) -
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, Object, 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.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, String, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Determine if logging is enabled.
- isEnabled(Level, Marker) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
-
- 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.
- iterator() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- iterator() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
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, Object[]) -
Constructor for class org.apache.logging.log4j.message.LocalizedMessage
- Constructor with message pattern and arguments.
- 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
-
- LocalizedMessageFactory - Class in org.apache.logging.log4j.message
- Creates
LocalizedMessage
instances for
LocalizedMessageFactory.newMessage(String, Object...)
. - LocalizedMessageFactory(ResourceBundle) -
Constructor for class org.apache.logging.log4j.message.LocalizedMessageFactory
-
- LocalizedMessageFactory(String) -
Constructor for class org.apache.logging.log4j.message.LocalizedMessageFactory
-
- log(Level, Marker, Message) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message with the specific Marker at the given level.
- log(Level, Marker, Message, Throwable) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message with the specific Marker at the given level.
- log(Level, Marker, Object) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message object with the given level.
- log(Level, Marker, Object, Throwable) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Level, Marker, String) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message object with the given level.
- log(Level, Marker, String, Object...) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message with parameters at the given level.
- log(Level, Marker, String, Throwable) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Level, Message) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message with the specific Marker at the given level.
- log(Level, Message, Throwable) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message with the specific Marker at the given level.
- log(Level, Object) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message object with the given level.
- log(Level, Object, Throwable) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Level, String) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message object with the given level.
- log(Level, String, Object...) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message with parameters at the given level.
- log(Level, String, Throwable) -
Method in interface org.apache.logging.log4j.Logger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Marker, String, Level, Message, Throwable) -
Method in class org.apache.logging.log4j.simple.SimpleLogger
-
- log(Level, Marker, Message) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with the specific Marker at the given level.
- log(Level, Marker, Message, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with the specific Marker at the given level.
- log(Level, Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the given level.
- log(Level, Marker, Object, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Level, Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the given level.
- log(Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at the given level.
- log(Level, Marker, String, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Level, Message) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with the specific Marker at the given level.
- log(Level, Message, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with the specific Marker at the given level.
- log(Level, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the given level.
- log(Level, Object, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- log(Level, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the given level.
- log(Level, String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at the given level.
- log(Level, String, Throwable) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message at the given level including the
stack trace of the
Throwable
t
passed as parameter.
- 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 an error occurs while logging.
- LoggingException(String) -
Constructor for exception org.apache.logging.log4j.LoggingException
- Construct an exception with a message.
- LoggingException(String, Throwable) -
Constructor for exception org.apache.logging.log4j.LoggingException
- Construct an exception with a message and underlying cause.
- LoggingException(Throwable) -
Constructor for exception org.apache.logging.log4j.LoggingException
- Construct an exception with an underlying cause.
- 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.
- MessageFactory - Interface in org.apache.logging.log4j.message
- Creates messages.
- MessageFormatMessage - Class in org.apache.logging.log4j.message
- Handles messages that consist of a format string conforming to java.text.MessageFormat.
- MessageFormatMessage(String, Object...) -
Constructor for class org.apache.logging.log4j.message.MessageFormatMessage
-
- MessageFormatMessageFactory - Class in org.apache.logging.log4j.message
- Creates
MessageFormatMessage
instances for
MessageFormatMessageFactory.newMessage(String, Object...)
. - MessageFormatMessageFactory() -
Constructor for class org.apache.logging.log4j.message.MessageFormatMessageFactory
-
- 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.
- MutableThreadContextStack - Class in org.apache.logging.log4j.spi
-
- MutableThreadContextStack(List<String>) -
Constructor for class org.apache.logging.log4j.spi.MutableThreadContextStack
-
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
-
- newMessage(Object) -
Method in class org.apache.logging.log4j.message.AbstractMessageFactory
-
- newMessage(String) -
Method in class org.apache.logging.log4j.message.AbstractMessageFactory
-
- newMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.AbstractMessageFactory
-
- newMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- Creates
StringFormattedMessage
instances.
- newMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.LocalizedMessageFactory
- Creates
StringFormattedMessage
instances.
- newMessage(Object) -
Method in interface org.apache.logging.log4j.message.MessageFactory
- Creates a new message based on an Object.
- newMessage(String) -
Method in interface org.apache.logging.log4j.message.MessageFactory
- Creates a new message based on a String.
- newMessage(String, Object...) -
Method in interface org.apache.logging.log4j.message.MessageFactory
- Creates a new parameterized message.
- newMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- Creates
StringFormattedMessage
instances.
- newMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- Creates
ParameterizedMessage
instances.
- newMessage(String, Object...) -
Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- Creates
StringFormattedMessage
instances.
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
- Simple logging implementation.
- 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
- Internal utility classes for the Log4j 2 API.
- 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
- Creates a parameterized message.
- ParameterizedMessage(String, Object[], Throwable) -
Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
- Creates a parameterized message.
- 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.
- ParameterizedMessageFactory - Class in org.apache.logging.log4j.message
- Enables use of
{}
parameter markers in message strings. - ParameterizedMessageFactory() -
Constructor for class org.apache.logging.log4j.message.ParameterizedMessageFactory
-
- peek() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- peek() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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 class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- pop() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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.
- printf(Level, Marker, String, Object...) -
Method in interface org.apache.logging.log4j.Logger
- Logs a formatted message using the specified format string and arguments.
- printf(Level, String, Object...) -
Method in interface org.apache.logging.log4j.Logger
- Logs a formatted message using the specified format string and arguments.
- printf(Level, String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a formatted message using the specified format string and arguments.
- printf(Level, Marker, String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a formatted message using the specified format string and arguments.
- PropertiesUtil - Class in org.apache.logging.log4j.util
- Helps access properties.
- PropertiesUtil(Properties) -
Constructor for class org.apache.logging.log4j.util.PropertiesUtil
-
- PropertiesUtil(String) -
Constructor for class org.apache.logging.log4j.util.PropertiesUtil
-
- Provider - Class in org.apache.logging.log4j.spi
-
- Provider(Properties, URL) -
Constructor for class org.apache.logging.log4j.spi.Provider
-
- ProviderUtil - Class in org.apache.logging.log4j.util
-
- push(String) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- push(String) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- push(String) -
Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
- Add an element to the stack.
- 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.spi.DefaultThreadContextMap
- Put a context value (the
o
parameter) as identified
with the key
parameter into the current thread's
context map.
- put(String, String) -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Put a context value (the
o
parameter) as identified
with the key
parameter into the current thread's
context map.
- put(String, String) -
Static method in class org.apache.logging.log4j.ThreadContext
- Put a context value (the
value
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.
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(String) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- Remove the the context identified by the
key
parameter.
- remove(Object) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- remove(Object) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- remove(String) -
Method in interface org.apache.logging.log4j.spi.ThreadContextMap
- Remove the the context identified by the
key
parameter.
- remove(String) -
Static method in class org.apache.logging.log4j.ThreadContext
- Remove the context value identified by the
key
parameter.
- removeAll(Collection<?>) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- removeAll(Collection<?>) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- removeContext(LoggerContext) -
Method in class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
-
- removeContext(LoggerContext) -
Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
- Removes knowledge of a LoggerContext.
- 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.
- retainAll(Collection<?>) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- retainAll(Collection<?>) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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
- Sets the id from a String.
- setId(StructuredDataId) -
Method in class org.apache.logging.log4j.message.StructuredDataMessage
- Sets 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, MessageFactory, PropertiesUtil, 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.
- size() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- size() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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 implementers 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
Formatter
. - StringFormattedMessage(String, Object...) -
Constructor for class org.apache.logging.log4j.message.StringFormattedMessage
-
- StringFormatterMessageFactory - Class in org.apache.logging.log4j.message
- Enables use of
Formatter
strings in message strings. - StringFormatterMessageFactory() -
Constructor for class org.apache.logging.log4j.message.StringFormatterMessageFactory
-
- 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 an RFC 5424 StructuredData element along with the syslog message.
- 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 or a Stack.
- ThreadContext.ContextStack - Interface in org.apache.logging.log4j
- The ThreadContext Stack interface.
- ThreadContextMap - Interface in org.apache.logging.log4j.spi
-
- ThreadContextStack - Interface in org.apache.logging.log4j.spi
-
- 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(Level, T) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a Throwable to be thrown.
- throwing(T) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a Throwable to be thrown.
- throwing(String, Level, T) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a Throwable to be thrown with location information.
- 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 timestamp in
the LogEvent.
- toArray() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- toArray(T[]) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- toArray() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- toArray(T[]) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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.FormattedMessage
-
- toString() -
Method in class org.apache.logging.log4j.message.MapMessage
-
- toString() -
Method in class org.apache.logging.log4j.message.MessageFormatMessage
-
- 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"
.
- toString() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
-
- toString() -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- toString() -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- 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(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.
- trace(Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
TRACE
level.
- 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(Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with 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(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(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(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(String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
TRACE
level.
- trace(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at 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.
- trim(int) -
Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
- trim(int) -
Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
- trim(int) -
Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
- Trims elements from the end of the stack.
- 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(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.
- warn(Marker, Object) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
WARN
level.
- 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(Marker, String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with 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(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(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(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(String) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message object with the
WARN
level.
- warn(String, Object...) -
Method in class org.apache.logging.log4j.spi.AbstractLogger
- Logs a message with parameters at 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.
- 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-2013 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.