Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractLogger - Class in org.apache.logging.log4j.spi
-
Base implementation of a Logger.
- AbstractLogger() - Constructor for class org.apache.logging.log4j.spi.AbstractLogger
-
Constructs an instance named after this class.
- AbstractLogger(String) - Constructor for class org.apache.logging.log4j.spi.AbstractLogger
-
Constructs an instance using the provided name.
- AbstractLogger(String, MessageFactory) - Constructor for class org.apache.logging.log4j.spi.AbstractLogger
-
Constructs an instance using the provided name and
MessageFactory
. - AbstractLogger(String, MessageFactory, FlowMessageFactory) - Constructor for class org.apache.logging.log4j.spi.AbstractLogger
-
The canonical constructor.
- AbstractLoggerAdapter<L> - Class in org.apache.logging.log4j.spi
-
Provides an abstract base class to use for implementing LoggerAdapter.
- AbstractLoggerAdapter() - Constructor for class org.apache.logging.log4j.spi.AbstractLoggerAdapter
- AbstractMessageFactory - Class in org.apache.logging.log4j.message
-
Provides an abstract superclass for
MessageFactory2
implementations with default implementations (and forMessageFactory
by extension). - AbstractMessageFactory() - Constructor for class org.apache.logging.log4j.message.AbstractMessageFactory
- accept(Object, int, S) - Method in interface org.apache.logging.log4j.message.ParameterConsumer
-
Performs an operation given the specified arguments.
- accept(K, V) - Method in interface org.apache.logging.log4j.util.BiConsumer
-
Performs the operation given the specified arguments.
- accept(K, V, S) - Method in interface org.apache.logging.log4j.util.TriConsumer
-
Performs the operation given the specified arguments.
- Activator - Class in org.apache.logging.log4j.util
-
Consider this class private. OSGi bundle activator.
- Activator() - Constructor for class org.apache.logging.log4j.util.Activator
- 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
- addParents(Marker...) - Method in interface org.apache.logging.log4j.Marker
-
Adds a Marker as a parent to this Marker.
- addParents(Marker...) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- addPropertySource(PropertySource) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Allows a
PropertySource
to be added afterPropertiesUtil
has been created. - addShutdownListener(LoggerContextShutdownAware) - Method in interface org.apache.logging.log4j.spi.LoggerContextShutdownEnabled
- ALL - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
All events should be logged.
- ALL - Static variable in class org.apache.logging.log4j.Level
-
All events should be logged.
- always() - Method in interface org.apache.logging.log4j.Logger
-
Construct a log event that will always be logged.
- always() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct a log event that will always be logged.
- API_VERSION - Static variable in class org.apache.logging.log4j.util.ProviderActivator
- appendDqValue(StringBuilder, Object) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Appends in the following format: double quoted value.
- appendKeyDqValue(StringBuilder, String, Object) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Appends in the following format: key=double quoted value.
- appendKeyDqValue(StringBuilder, Map.Entry<String, String>) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Appends in the following format: key=double quoted value.
- appendMap(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
- appendSpecificTypes(StringBuilder, Object) - Static method in class org.apache.logging.log4j.util.StringBuilders
- appendValue(StringBuilder, Object) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Appends a text representation of the specified object to the specified StringBuilder, if possible without allocating temporary objects.
- asJava(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
- asJavaUnquoted(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
-
Formats the Structured data as described in RFC 5424.
- 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.MapMessage
-
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.
- asString(StructuredDataMessage.Format, StructuredDataId, StringBuilder) - 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
-
Formats this message as an XML fragment String into the given builder.
- AsynchronouslyFormattable - Annotation Type in org.apache.logging.log4j.message
-
Annotation that signals to asynchronous logging components that messages of this type can safely be passed to a background thread without calling
Message.getFormattedMessage()
first. - atDebug() - Method in interface org.apache.logging.log4j.Logger
-
Construct a trace log event.
- atDebug() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct a debug log event.
- atError() - Method in interface org.apache.logging.log4j.Logger
-
Construct a trace log event.
- atError() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct an error log event.
- atFatal() - Method in interface org.apache.logging.log4j.Logger
-
Construct a trace log event.
- atFatal() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct a fatal log event.
- atInfo() - Method in interface org.apache.logging.log4j.Logger
-
Construct a trace log event.
- atInfo() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct an informational log event.
- atLevel(Level) - Method in interface org.apache.logging.log4j.Logger
-
Construct a log event.
- atLevel(Level) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct a log event.
- atTrace() - Method in interface org.apache.logging.log4j.Logger
-
Construct a trace log event.
- atTrace() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct a trace log event.
- atWarn() - Method in interface org.apache.logging.log4j.Logger
-
Construct a trace log event.
- atWarn() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Construct a warning log event.
B
- Base64Util - Class in org.apache.logging.log4j.util
-
Base64 encodes Strings.
- BiConsumer<K,
V> - Interface in org.apache.logging.log4j.util -
An operation that accepts two input arguments and returns no result.
- box(boolean) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(byte) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(char) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(double) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(float) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(int) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(long) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - box(short) - Static method in class org.apache.logging.log4j.util.Unbox
-
Returns a
StringBuilder
containing the text representation of the specified primitive value. - BridgeAware - Interface in org.apache.logging.log4j
-
Extended interface to allow bridges between logging systems to convey the correct location information.
- bundleChanged(BundleEvent) - Method in class org.apache.logging.log4j.util.Activator
C
- calcLocation(String) - Method in class org.apache.logging.log4j.util.StackLocator
- calcLocation(String) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
- cast(Object) - Static method in class org.apache.logging.log4j.util.Cast
-
Returns the provided object cast to the generic parameter type or null when the argument is null.
- Cast - Class in org.apache.logging.log4j.util
- catching(String, Level, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs a Throwable that has been caught with location information.
- catching(Throwable) - Method in interface org.apache.logging.log4j.Logger
- catching(Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- catching(Level, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a
Throwable
that has been caught to a specific logging level. - catching(Level, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- CATCHING_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
Marker for catching exceptions.
- catchingMsg(Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- CATEGORY - Static variable in class org.apache.logging.log4j.Level
-
Category to be used by custom levels.
- charAt(int) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- charAt(int) - Method in class org.apache.logging.log4j.message.SimpleMessage
- Chars - Class in org.apache.logging.log4j.util
-
Consider this class private.
- checkMessageFactory(ExtendedLogger, MessageFactory) - Static method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- CleanableThreadContextMap - Interface in org.apache.logging.log4j.spi
-
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext
. - clear() - Static method in class org.apache.logging.log4j.MarkerManager
-
Clears all markers.
- clear() - Method in class org.apache.logging.log4j.message.MapMessage
-
Clear the data.
- clear() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
- clear() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- clear() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- clear() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- clear() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- clear() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- clear() - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- clear() - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Clears the context.
- clear() - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Clears the context.
- clear() - Method in class org.apache.logging.log4j.status.StatusLogger
-
Deprecated.Instead of relying on the buffering provided by
StatusLogger
, users should register their own listeners to access to logged events. - clear() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- clear() - Method in interface org.apache.logging.log4j.util.StringMap
-
Removes all key-value pairs from this collection.
- clearAll() - Static method in class org.apache.logging.log4j.ThreadContext
-
Clears the context map and stack.
- clearMap() - Static method in class org.apache.logging.log4j.ThreadContext
-
Clears the context map.
- clearStack() - Static method in class org.apache.logging.log4j.ThreadContext
-
Clears the stack for this thread.
- clone() - Method in class org.apache.logging.log4j.Level
- cloneStack() - Static method in class org.apache.logging.log4j.ThreadContext
-
Returns a copy of this thread's stack.
- close() - Method in class org.apache.logging.log4j.CloseableThreadContext.Instance
-
Removes the values from the
ThreadContext
. - close() - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
- close() - Method in class org.apache.logging.log4j.status.StatusConsoleListener
-
Resets the level and output stream to its initial values, and closes the output stream, if it is a non-system one.
- CloseableThreadContext - Class in org.apache.logging.log4j
-
Adds entries to the
stack or map
and them removes them when the object is closed, e.g. - CloseableThreadContext.Instance - Class in org.apache.logging.log4j
- Comparator() - Constructor for class org.apache.logging.log4j.util.PropertySource.Comparator
- compare(PropertySource, PropertySource) - Method in class org.apache.logging.log4j.util.PropertySource.Comparator
- compareTo(Level) - Method in class org.apache.logging.log4j.Level
- concat(String, String) - Static method in class org.apache.logging.log4j.util.Strings
-
Concatenates 2 Strings without allocation.
- ConcurrentMapFactory() - Constructor for class org.apache.logging.log4j.spi.LoggerRegistry.ConcurrentMapFactory
-
Deprecated.
- Config(boolean, int, DateTimeFormatter) - Constructor for class org.apache.logging.log4j.status.StatusLogger.Config
-
Constructs an instance using the given properties.
- Constants - Class in org.apache.logging.log4j.util
-
Log4j API Constants.
- 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.message.MapMessage
-
Returns
true
if this data structure contains the specified key,false
otherwise. - containsKey(String) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- containsKey(String) - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- containsKey(String) - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Determines if the key is in the context.
- containsKey(String) - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Determines if the key is in the context.
- containsKey(String) - Static method in class org.apache.logging.log4j.ThreadContext
-
Determines if the key is in the context.
- containsKey(String) - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Returns
true
if this data structure contains the specified key,false
otherwise. - containsKey(String) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- containsProperty(String) - Method in class org.apache.logging.log4j.util.EnvironmentPropertySource
- containsProperty(String) - Method in class org.apache.logging.log4j.util.PropertiesPropertySource
- containsProperty(String) - Method in interface org.apache.logging.log4j.util.PropertySource
-
For PropertySources that cannot iterate over all the potential properties this provides a direct lookup.
- containsProperty(String) - Method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- contextShutdown(LoggerContext) - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
- contextShutdown(LoggerContext) - Method in interface org.apache.logging.log4j.spi.LoggerContextShutdownAware
- 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.
- CopyOnWrite - Interface in org.apache.logging.log4j.spi
-
Deprecated.Since 2.24.0 no class implements this.
- countArgumentPlaceholders(String) - Static method in class org.apache.logging.log4j.message.ParameterizedMessage
-
Returns the number of argument placeholders.
- CR - Static variable in class org.apache.logging.log4j.util.Chars
-
Carriage Return.
- create(String) - Static method in class org.apache.logging.log4j.spi.LoggerContextKey
-
Deprecated.
- create(String, Class<? extends MessageFactory>) - Static method in class org.apache.logging.log4j.spi.LoggerContextKey
-
Deprecated.
- create(String, MessageFactory) - Static method in class org.apache.logging.log4j.spi.LoggerContextKey
-
Deprecated.
- createInnerMap() - Method in class org.apache.logging.log4j.spi.LoggerRegistry.ConcurrentMapFactory
-
Deprecated.
- createInnerMap() - Method in interface org.apache.logging.log4j.spi.LoggerRegistry.MapFactory
-
Deprecated.
- createInnerMap() - Method in class org.apache.logging.log4j.spi.LoggerRegistry.WeakMapFactory
-
Deprecated.
- createOuterMap() - Method in class org.apache.logging.log4j.spi.LoggerRegistry.ConcurrentMapFactory
-
Deprecated.
- createOuterMap() - Method in interface org.apache.logging.log4j.spi.LoggerRegistry.MapFactory
-
Deprecated.
- createOuterMap() - Method in class org.apache.logging.log4j.spi.LoggerRegistry.WeakMapFactory
-
Deprecated.
- createThreadContextMap() - Static method in class org.apache.logging.log4j.spi.ThreadContextMapFactory
- createThreadInfo() - Method in interface org.apache.logging.log4j.message.ThreadDumpMessage.ThreadInfoFactory
- CURRENT_VERSION - Static variable in class org.apache.logging.log4j.spi.Provider
-
Constant inlined by the compiler
D
- debug(CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
DEBUG
level. - debug(CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
DEBUG
level. - debug(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
DEBUG
level. - debug(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
DEBUG
level. - debug(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
DEBUG
level. - debug(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
DEBUG
level. - debug(Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
DEBUG
level. - debug(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
DEBUG
level. - debug(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
DEBUG
level. - debug(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at debug level.
- debug(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
DEBUG
level. - debug(Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
DEBUG
level with the specified Marker. - debug(Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
DEBUG
level with the specified Marker. - debug(Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
DEBUG
level. - debug(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
DEBUG
level. - debug(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
DEBUG
level. - debug(MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
DEBUG
level. - debug(Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- debug(Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- debug(Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- DEBUG - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
A general debugging event.
- DEBUG - Static variable in class org.apache.logging.log4j.Level
-
A general debugging event.
- 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_FLOW_MESSAGE_FACTORY_CLASS - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
The default FlowMessageFactory class.
- DEFAULT_MESSAGE_FACTORY_CLASS - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
The default MessageFactory class.
- DEFAULT_PROCESSID - Static variable in class org.apache.logging.log4j.util.ProcessIdUtil
- DEFAULT_STATUS_LISTENER_LEVEL - Static variable in class org.apache.logging.log4j.status.StatusLogger
-
The name of the system property that can be configured with the
Level
name to use as the fallback listener level. - DefaultFlowMessageFactory - Class in org.apache.logging.log4j.message
-
Default factory for flow messages.
- DefaultFlowMessageFactory() - Constructor for class org.apache.logging.log4j.message.DefaultFlowMessageFactory
-
Constructs a message factory with
"Enter"
and"Exit"
as the default flow strings. - DefaultFlowMessageFactory(String, String) - Constructor for class org.apache.logging.log4j.message.DefaultFlowMessageFactory
-
Constructs a message factory with the given entry and exit strings.
- DefaultThreadContextMap - Class in org.apache.logging.log4j.spi
-
The default implementation of
ThreadContextMap
- DefaultThreadContextMap() - Constructor for class org.apache.logging.log4j.spi.DefaultThreadContextMap
- DefaultThreadContextMap(boolean) - Constructor for class org.apache.logging.log4j.spi.DefaultThreadContextMap
-
Deprecated.Since 2.24.0. Use
NoOpThreadContextMap
for a no-op implementation. - 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() - Constructor for class org.apache.logging.log4j.spi.DefaultThreadContextStack
- DefaultThreadContextStack(boolean) - Constructor for class org.apache.logging.log4j.spi.DefaultThreadContextStack
-
Deprecated.since 2.24.0 without a replacement.
- dquote(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Returns a double quoted string.
- DQUOTE - Static variable in class org.apache.logging.log4j.util.Chars
-
Double Quote.
E
- EMPTY - Static variable in class org.apache.logging.log4j.util.Strings
-
The empty string.
- EMPTY_ARRAY - Static variable in interface org.apache.logging.log4j.spi.LoggerContext
-
Empty array.
- EMPTY_ARRAY - Static variable in class org.apache.logging.log4j.util.Strings
-
The empty array.
- EMPTY_BYTE_ARRAY - Static variable in class org.apache.logging.log4j.util.Constants
-
The empty array.
- EMPTY_MAP - Static variable in class org.apache.logging.log4j.ThreadContext
-
Empty, immutable Map.
- EMPTY_OBJECT_ARRAY - Static variable in class org.apache.logging.log4j.util.Constants
-
The empty array.
- EMPTY_STACK - Static variable in class org.apache.logging.log4j.ThreadContext
-
Empty, immutable ContextStack.
- ENABLE_THREADLOCALS - Static variable in class org.apache.logging.log4j.util.Constants
-
Specifies whether Log4j can bind non-JRE types to
ThreadLocal
s - encode(String) - Static method in class org.apache.logging.log4j.util.Base64Util
-
Deprecated.
- EnglishEnums - Class in org.apache.logging.log4j.util
-
Consider this class private.
- enter(String, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs entry to a method with location information.
- enter(String, String, MessageSupplier...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- enter(String, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs entry to a method with location information.
- enter(String, Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs entry to a method with location information.
- enter(String, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- entry() - Method in interface org.apache.logging.log4j.Logger
-
Deprecated.Use
Logger.traceEntry()
instead which performs the same function. - entry() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- entry(Object...) - Method in interface org.apache.logging.log4j.Logger
-
Deprecated.Use
Logger.traceEntry(String, Object...)
instead which performs the same function. - entry(Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- 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.
- EntryMessage - Interface in org.apache.logging.log4j.message
-
Entry flow messages
- entryMsg(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- entryMsg(String, MessageSupplier...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- entryMsg(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- EnvironmentPropertySource - Class in org.apache.logging.log4j.util
-
PropertySource implementation that uses environment variables as a source.
- EnvironmentPropertySource() - Constructor for class org.apache.logging.log4j.util.EnvironmentPropertySource
- EQ - Static variable in class org.apache.logging.log4j.util.Chars
-
Equals '='.
- equals(CharSequence, int, int, CharSequence, int, int) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Returns true if the specified section of the left CharSequence equals the specified section of the right CharSequence.
- equals(Object) - Method in class org.apache.logging.log4j.Level
- equals(Object) - Method in interface org.apache.logging.log4j.Marker
-
Returns true if the given marker has the same name as this marker.
- equals(Object) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- equals(Object) - Method in class org.apache.logging.log4j.message.FormattedMessage
- equals(Object) - Method in class org.apache.logging.log4j.message.LocalizedMessageFactory
- 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.ObjectArrayMessage
- 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
- equals(Object) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- equals(Object) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- equals(Object) - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- equals(Object) - Method in class org.apache.logging.log4j.spi.Provider
- equals(Object) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- equals(Object) - Method in interface org.apache.logging.log4j.util.StringMap
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.apache.logging.log4j.util.Timer
- equalsIgnoreCase(CharSequence, int, int, CharSequence, int, int) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Returns true if the specified section of the left CharSequence equals, ignoring case, the specified section of the right CharSequence.
- error(CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
ERROR
level. - error(CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
ERROR
level. - error(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
ERROR
level. - error(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
ERROR
level. - error(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
ERROR
level. - error(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
ERROR
level. - error(Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
ERROR
level. - error(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
ERROR
level. - error(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
ERROR
level. - error(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at error level.
- error(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
ERROR
level. - error(Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
ERROR
level with the specified Marker. - error(Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
ERROR
level with the specified Marker. - error(Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
ERROR
level. - error(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
ERROR
level. - error(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
ERROR
level. - error(MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
ERROR
level. - error(Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- error(Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- error(Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- ERROR - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
An error in the application, possibly recoverable.
- ERROR - Static variable in class org.apache.logging.log4j.Level
-
An error in the application, possibly recoverable.
- 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.
- escapeJson(StringBuilder, int) - Static method in class org.apache.logging.log4j.util.StringBuilders
- escapeXml(StringBuilder, int) - Static method in class org.apache.logging.log4j.util.StringBuilders
- EVENT_MARKER - Static variable in class org.apache.logging.log4j.EventLogger
-
Deprecated.Defines the Event Marker.
- EventLogger - Class in org.apache.logging.log4j
-
Deprecated.
Logger
acceptsStructuredDataMessage
s, users should use to that instead. - EXCEPTION_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
Marker for exception tracing.
- exists(String) - Static method in class org.apache.logging.log4j.LogManager
-
Detects if a Logger with the specified name exists.
- exists(String) - Static method in class org.apache.logging.log4j.MarkerManager
-
Tests existence of the given marker.
- exit() - Method in interface org.apache.logging.log4j.Logger
-
Deprecated.Use
Logger.traceExit()
instead which performs the same function. - exit() - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- exit(String, String, R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs exiting from a method with the result and location information.
- exit(String, R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs exiting from a method with the result and location information.
- exit(R) - Method in interface org.apache.logging.log4j.Logger
-
Deprecated.Use
Logger.traceExit(Object)
instead which performs the same function. - exit(R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Deprecated.
- EXIT_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
Marker for method exit tracing.
- ExitMessage - Interface in org.apache.logging.log4j.message
-
Exit flow messages
- exitMsg(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- ExtendedLogger - Interface in org.apache.logging.log4j.spi
-
Extends the
Logger
interface with methods that facilitate implementing or extendingLogger
s. - ExtendedLoggerWrapper - Class in org.apache.logging.log4j.spi
-
Wrapper class that exposes the protected AbstractLogger methods to support wrapped loggers.
- ExtendedLoggerWrapper(ExtendedLogger, String, MessageFactory) - Constructor for class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Constructor that wraps and existing Logger.
- extractSubset(Properties, String) - Static method in class org.apache.logging.log4j.util.PropertiesUtil
-
Extracts properties that start with or are equals to the specific prefix and returns them in a new Properties object with the prefix removed.
F
- FACTORY_PRIORITY - Static variable in class org.apache.logging.log4j.spi.Provider
-
Deprecated.since 2.24.0
- FACTORY_PROPERTY_NAME - Static variable in class org.apache.logging.log4j.LogManager
-
Deprecated.Replaced since 2.24.0 with "log4j.provider".
- fatal(CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
FATAL
level. - fatal(CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
FATAL
level. - fatal(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
FATAL
level. - fatal(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
FATAL
level. - fatal(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
FATAL
level. - fatal(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
FATAL
level. - fatal(Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
FATAL
level. - fatal(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
FATAL
level. - fatal(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
FATAL
level. - fatal(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at fatal level.
- fatal(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
FATAL
level. - fatal(Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
FATAL
level with the specified Marker. - fatal(Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
FATAL
level with the specified Marker. - fatal(Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
FATAL
level. - fatal(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
FATAL
level. - fatal(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
FATAL
level. - fatal(MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
FATAL
level. - fatal(Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- fatal(Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- fatal(Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- FATAL - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
A severe error that will prevent the application from continuing.
- FATAL - Static variable in class org.apache.logging.log4j.Level
-
A fatal event that will prevent the application from continuing.
- FilteredObjectInputStream - Class in org.apache.logging.log4j.util
-
Extends
ObjectInputStream
to only allow some built-in Log4j classes and caller-specified classes to be deserialized. - FilteredObjectInputStream() - Constructor for class org.apache.logging.log4j.util.FilteredObjectInputStream
- FilteredObjectInputStream(InputStream) - Constructor for class org.apache.logging.log4j.util.FilteredObjectInputStream
- FilteredObjectInputStream(InputStream, Collection<String>) - Constructor for class org.apache.logging.log4j.util.FilteredObjectInputStream
- FilteredObjectInputStream(Collection<String>) - Constructor for class org.apache.logging.log4j.util.FilteredObjectInputStream
- findClassLoader() - Static method in class org.apache.logging.log4j.util.ProviderUtil
- findResources(String) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Finds classpath resources.
- FLOW_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
Marker for flow tracing.
- FlowMessage - Interface in org.apache.logging.log4j.message
-
Flow messages
- FlowMessageFactory - Interface in org.apache.logging.log4j.message
-
Creates flow messages.
- forEach(BiConsumer<String, ? super CV>) - Method in class org.apache.logging.log4j.message.MapMessage
-
Performs the given action for each key-value pair in this data structure until all entries have been processed or the action throws an exception.
- forEach(BiConsumer<String, ? super V>) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- forEach(BiConsumer<String, ? super V>) - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Performs the given action for each key-value pair in this data structure until all entries have been processed or the action throws an exception.
- forEach(BiConsumer<String, ? super V>) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- forEach(BiConsumer<String, String>) - Method in class org.apache.logging.log4j.util.EnvironmentPropertySource
- forEach(BiConsumer<String, String>) - Method in class org.apache.logging.log4j.util.PropertiesPropertySource
- forEach(BiConsumer<String, String>) - Method in interface org.apache.logging.log4j.util.PropertySource
-
Iterates over all properties and performs an action for each key/value pair.
- forEach(BiConsumer<String, String>) - Method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- forEach(TriConsumer<String, ? super CV, S>, S) - Method in class org.apache.logging.log4j.message.MapMessage
-
Performs the given action for each key-value pair in this data structure until all entries have been processed or the action throws an exception.
- forEach(TriConsumer<String, ? super V, S>, S) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- forEach(TriConsumer<String, ? super V, S>, S) - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Performs the given action for each key-value pair in this data structure until all entries have been processed or the action throws an exception.
- forEach(TriConsumer<String, ? super V, T>, T) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- forEachParameter(ParameterConsumer<S>, S) - Method in interface org.apache.logging.log4j.message.ParameterVisitable
-
Performs the given action for each parameter until all values have been processed or the action throws an exception.
- forEachParameter(ParameterConsumer<S>, S) - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
- forEachParameter(ParameterConsumer<S>, S) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- forEachParameter(ParameterConsumer<S>, S) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- format(String, Object[]) - Static method in class org.apache.logging.log4j.message.ParameterizedMessage
-
Returns the formatted message.
- formatMessage(String, Object...) - Method in class org.apache.logging.log4j.message.MessageFormatMessage
- 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) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a pattern and a single parameter.
- FormattedMessage(String, Object...) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a pattern and a parameter array.
- FormattedMessage(String, Object[], Throwable) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a pattern, a parameter array, and a throwable.
- FormattedMessage(String, Object, Object) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a pattern and two parameters.
- FormattedMessage(Locale, String, Object) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a locale, a pattern and a single parameter.
- FormattedMessage(Locale, String, Object...) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a locale, a pattern and a parameter array.
- FormattedMessage(Locale, String, Object[], Throwable) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a locale, a pattern, a parameter array, and a throwable.
- FormattedMessage(Locale, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.FormattedMessage
-
Constructs with a locale, a pattern and two parameters.
- FormattedMessageFactory - Class in org.apache.logging.log4j.message
- FormattedMessageFactory() - Constructor for class org.apache.logging.log4j.message.FormattedMessageFactory
-
Constructs a message factory with default flow strings.
- formatTo(String[], StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
- formatTo(String[], StringBuilder) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- formatTo(String[], StringBuilder) - Method in interface org.apache.logging.log4j.util.MultiFormatStringBuilderFormattable
-
Writes a text representation of this object into the specified
StringBuilder
, ideally without allocating temporary objects. - formatTo(StringBuilder) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.MapMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.ObjectMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.ParameterizedMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.SimpleMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.StructuredDataCollectionMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.StructuredDataId
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- formatTo(StringBuilder) - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- formatTo(StringBuilder) - Method in interface org.apache.logging.log4j.util.StringBuilderFormattable
-
Writes a text representation of this object into the specified
StringBuilder
, ideally without allocating temporary objects. - formatTo(StringBuilder) - Method in class org.apache.logging.log4j.util.Timer
- forName(String, int) - Static method in class org.apache.logging.log4j.Level
-
Retrieves an existing Level or creates on if it didn't previously exist.
- freeze() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
"Freezes" this context stack so it becomes immutable: all mutator methods will throw an exception from now on.
- freeze() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- freeze() - Method in interface org.apache.logging.log4j.util.StringMap
-
Makes this collection immutable.
- FULL - Enum constant in enum org.apache.logging.log4j.message.StructuredDataMessage.Format
-
Full message format includes the type and message.
G
- get() - Method in interface org.apache.logging.log4j.util.Lazy
-
Returns the value held by this lazy.
- get() - Method in interface org.apache.logging.log4j.util.MessageSupplier
-
Gets a Message.
- get() - Method in interface org.apache.logging.log4j.util.Supplier
-
Gets a value.
- get(String) - Method in class org.apache.logging.log4j.message.MapMessage
-
Retrieves 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(String) - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- get(String) - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Gets the context identified by the
key
parameter. - get(String) - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Gets the context identified by the
key
parameter. - get(String) - Static method in class org.apache.logging.log4j.ThreadContext
-
Gets the context value identified by the
key
parameter. - get(MessageSupplier) - Static method in class org.apache.logging.log4j.util.LambdaUtil
-
Returns the Message supplied by the specified function.
- get(Supplier<?>) - Static method in class org.apache.logging.log4j.util.LambdaUtil
-
Returns the result of evaluating the specified function.
- getAll(Supplier<?>...) - Static method in class org.apache.logging.log4j.util.LambdaUtil
-
Converts an array of lambda expressions into an array of their evaluation results.
- getAllowedClasses() - Method in class org.apache.logging.log4j.util.FilteredObjectInputStream
- getAsBoolean() - Method in class org.apache.logging.log4j.util.LazyBoolean
- getBaseName() - Method in class org.apache.logging.log4j.message.LocalizedMessageFactory
-
Gets the resource bundle base name if set.
- getBooleanProperty(String) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a boolean value.
- getBooleanProperty(String[], String, Supplier<Boolean>) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Retrieves a property that may be prefixed by more than one string.
- getBooleanProperty(String, boolean) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a boolean value.
- getBooleanProperty(String, boolean, boolean) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a boolean value.
- getCallerClass(int) - Method in class org.apache.logging.log4j.util.StackLocator
-
Gets the Class of the method that called this method at the location up the call stack by the given stack frame depth.
- getCallerClass(int) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
- getCallerClass(Class<?>) - Method in class org.apache.logging.log4j.util.StackLocator
- getCallerClass(Class<?>) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
- getCallerClass(Class<?>, Predicate<Class<?>>) - Method in class org.apache.logging.log4j.util.StackLocator
- getCallerClass(Class<?>, Predicate<Class<?>>) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
-
Search for a calling class.
- getCallerClass(String) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
-
Equivalent to
StackLocatorUtil.getCallerClass(String, String)
with an emptypkg
. - getCallerClass(String, String) - Method in class org.apache.logging.log4j.util.StackLocator
- getCallerClass(String, String) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
-
Search for a calling class.
- getCallerClassLoader(int) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
-
Gets the ClassLoader of the class that called this method at the location up the call stack by the given stack frame depth.
- getCharsetProperty(String) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a Charset value.
- getCharsetProperty(String, Charset) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a Charset value.
- getClassLoader() - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Returns the ClassLoader to use.
- getClassLoader(Class<?>, Class<?>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
- getClassName() - Method in class org.apache.logging.log4j.spi.Provider
-
Gets the class name of the
LoggerContextFactory
implementation of this Provider. - getContext() - Static method in class org.apache.logging.log4j.LogManager
-
Returns the current LoggerContext.
- getContext() - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
-
Gets the
LoggerContext
that should be used to look up or create loggers. - getContext() - Static method in class org.apache.logging.log4j.ThreadContext
-
Returns a mutable copy of current thread's context Map.
- getContext(boolean) - Static method in class org.apache.logging.log4j.LogManager
-
Returns a LoggerContext.
- getContext(Class<?>) - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
-
Gets the
LoggerContext
associated with the given caller class. - getContext(ClassLoader, boolean) - Static method in class org.apache.logging.log4j.LogManager
-
Returns a LoggerContext.
- getContext(ClassLoader, boolean, Object) - Static method in class org.apache.logging.log4j.LogManager
-
Returns a LoggerContext.
- getContext(ClassLoader, boolean, Object, URI) - Static method in class org.apache.logging.log4j.LogManager
-
Returns a LoggerContext.
- getContext(ClassLoader, boolean, Object, URI, String) - 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, URI, String) - Static method in class org.apache.logging.log4j.LogManager
-
Returns a LoggerContext
- getContext(String, ClassLoader, Object, boolean) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
- getContext(String, ClassLoader, Object, boolean) - Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
-
Creates a
LoggerContext
. - getContext(String, ClassLoader, Object, boolean, URI, String) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
- getContext(String, ClassLoader, Object, boolean, URI, String) - Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
-
Creates a
LoggerContext
. - getCopy() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- getCopy() - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- getCopy() - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Gets a non-
null
mutable copy of current thread's context Map. - getCopy() - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Gets a non-
null
mutable copy of current thread's context Map. - getCurrentStackTrace() - Method in class org.apache.logging.log4j.util.StackLocator
- getCurrentStackTrace() - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
- getData() - Method in class org.apache.logging.log4j.message.MapMessage
-
Returns the message data as an unmodifiable Map.
- getDeclaringClass() - Method in class org.apache.logging.log4j.Level
- 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
-
Gets the current nesting depth of this thread's stack.
- getDoubleProperty(String, double) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a double.
- getDurationProperty(String[], String, Supplier<Duration>) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Retrieves a property that may be prefixed by more than one string.
- getDurationProperty(String, Duration) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Retrieves a Duration where the String is of the format nnn[unit] where nnn represents an integer value and unit represents a time unit.
- getElapsedNanoTime() - Method in class org.apache.logging.log4j.util.Timer
-
Access the elapsed time.
- getElapsedTime() - Method in class org.apache.logging.log4j.util.Timer
-
Access the elapsed time.
- getEnterpriseNumber() - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Returns the enterprise number.
- getEntryText() - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
-
Gets the entry text.
- getExitText() - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
-
Gets the exit text.
- getExternalContext() - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
- getExternalContext() - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets the anchor for some other context, such as a ClassLoader or ServletContext.
- getFactory() - Static method in class org.apache.logging.log4j.LogManager
-
Returns the current LoggerContextFactory.
- getFallbackListener() - Method in class org.apache.logging.log4j.status.StatusLogger
-
Returns the fallback listener.
- getFlowMessageFactory() - Method in interface org.apache.logging.log4j.Logger
-
Gets the flow message factory used to convert messages into flow messages.
- getFlowMessageFactory() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- getFormat() - Method in class org.apache.logging.log4j.message.FormattedMessage
-
Gets 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
-
Deprecated.Deprecated since version
2.24.0
. UseMultiformatMessage
instead to implement messages that can format themselves in one or more encodings. - getFormat() - Method in class org.apache.logging.log4j.message.MessageFormatMessage
-
Returns the message pattern.
- getFormat() - Method in class org.apache.logging.log4j.message.ObjectArrayMessage
-
Returns the object formatted using its toString method.
- 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
- getFormat() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
-
Returns the object formatted using its toString method.
- getFormat() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
-
Returns the message pattern.
- getFormat() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- 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.StructuredDataCollectionMessage
- 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
-
Gets 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
-
Formats the message and return it.
- 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() - Method in class org.apache.logging.log4j.message.ObjectArrayMessage
-
Returns the formatted object message.
- 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.ReusableObjectMessage
-
Returns the formatted object message.
- getFormattedMessage() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
-
Returns the formatted message.
- getFormattedMessage() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- 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.StructuredDataCollectionMessage
- getFormattedMessage() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
-
Formats the message and return it.
- getFormattedMessage() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
-
Returns the ThreadDump in printable format.
- getFormattedMessage(String[]) - Method in class org.apache.logging.log4j.message.MapMessage
- getFormattedMessage(String[]) - Method in interface org.apache.logging.log4j.message.MultiformatMessage
-
Returns the Message formatted as a String.
- getFormattedMessage(String[]) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
-
Formats the message according to the specified format.
- getFormattedStatus() - Method in class org.apache.logging.log4j.status.StatusData
-
Formats the event in to a log line for viewing.
- getFormatterLogger() - Static method in class org.apache.logging.log4j.LogManager
-
Returns a formatter Logger using the fully qualified name of the calling Class as the Logger name.
- 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 this message 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
- getImmutableMapOrNull() - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- getImmutableMapOrNull() - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Returns an immutable view on the context Map or
null
if the context map is empty. - getImmutableMapOrNull() - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Returns 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
-
Gets an immutable copy of this current thread's context stack.
- getImmutableStackOrNull() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- getImmutableStackOrNull() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- getImmutableStackOrNull() - Method in interface org.apache.logging.log4j.ThreadContext.ContextStack
-
Returns a ContextStack with the same contents as this ContextStack or
null
. - getIndexedReadOnlyStringMap() - Method in class org.apache.logging.log4j.message.MapMessage
-
Returns a read-only view of the message data.
- getInstance() - Static method in class org.apache.logging.log4j.status.StatusLogger.Config
-
Gets the static instance.
- getInstance() - Static method in class org.apache.logging.log4j.util.StackLocator
-
Gets the singleton instance.
- getInstant() - Method in class org.apache.logging.log4j.status.StatusData
-
Returns the instant of the event.
- getIntegerProperty(String[], String, Supplier<Integer>) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Retrieves a property that may be prefixed by more than one string.
- getIntegerProperty(String, int) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as an integer.
- getKeyAt(int) - Method in interface org.apache.logging.log4j.util.IndexedReadOnlyStringMap
-
Viewing all key-value pairs as a sequence sorted by key, this method returns the key at the specified index, or
null
if the specified index is less than zero or greater or equal to the size of this collection. - getKeyAt(int) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- getLevel() - Method in interface org.apache.logging.log4j.Logger
-
Gets the Level associated with the Logger.
- getLevel() - Method in class org.apache.logging.log4j.simple.SimpleLogger
- getLevel() - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- 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
-
Returns the least specific level among listeners, if registered any; otherwise, the fallback listener level.
- getLevel(String) - Static method in class org.apache.logging.log4j.Level
-
Return the Level associated with the name or null if the Level cannot be found.
- getListeners() - Method in interface org.apache.logging.log4j.spi.LoggerContextShutdownEnabled
- getListeners() - Method in class org.apache.logging.log4j.status.StatusLogger
-
Returns the listener collection.
- getLogBuilder(Level) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Returns a log builder that logs at the specified level.
- getLogger() - Static method in class org.apache.logging.log4j.LogManager
-
Returns a Logger with the name of the calling class.
- getLogger() - Static method in class org.apache.logging.log4j.status.StatusLogger
-
Gets the static instance.
- 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<?>) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets an ExtendedLogger using the fully qualified name of the Class as the Logger name.
- getLogger(Class<?>, MessageFactory) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets an ExtendedLogger 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(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) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
- getLogger(String) - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
- getLogger(String) - Method in interface org.apache.logging.log4j.spi.LoggerAdapter
-
Gets a named logger.
- getLogger(String) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets an ExtendedLogger.
- getLogger(String) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
-
Deprecated.As of version
2.25.0
, planned to be removed! UseLoggerRegistry.getLogger(String, MessageFactory)
instead. - getLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
- getLogger(String, MessageFactory) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets an ExtendedLogger.
- getLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
-
Returns the logger associated with the given name and message factory.
- getLogger(String, 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(MessageFactory) - Static method in class org.apache.logging.log4j.LogManager
-
Returns a Logger with the name of the calling class.
- getLoggerContextFactory() - Method in class org.apache.logging.log4j.spi.Provider
- getLoggerContexts() - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
-
For unit testing.
- 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.
- getLoggerRegistry() - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
-
Gets the LoggerRegistry.
- getLoggerRegistry() - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets the LoggerRegistry.
- getLoggers() - Method in class org.apache.logging.log4j.spi.LoggerRegistry
- getLoggers(Collection<T>) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
- getLoggersInContext(LoggerContext) - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
-
Gets or creates the ConcurrentMap of named loggers for a given LoggerContext.
- getLongProperty(String[], String, Supplier<Long>) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Retrieves a property that may be prefixed by more than one string.
- getLongProperty(String, long) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a long.
- getLowerCaseHex(int) - Static method in class org.apache.logging.log4j.util.Chars
-
Converts a digit into an lower-case hexadecimal character or the null character if invalid.
- getMarker(String) - Static method in class org.apache.logging.log4j.MarkerManager
-
Retrieves a Marker or create a Marker that has no parent.
- getMarker(String, String) - Static method in class org.apache.logging.log4j.MarkerManager
-
Deprecated.Use the Marker add or set methods to add parent Markers. Will be removed by final GA release.
- getMarker(String, Marker) - Static method in class org.apache.logging.log4j.MarkerManager
-
Deprecated.Use the Marker add or set methods to add parent Markers. Will be removed by final GA release.
- getMessage() - Method in interface org.apache.logging.log4j.message.FlowMessage
-
The wrapped message
- getMessage() - Method in class org.apache.logging.log4j.status.StatusData
-
Returns the message associated with the event.
- getMessage(String, Object[], Throwable) - Method in class org.apache.logging.log4j.message.FormattedMessage
-
Gets the message implementation to which formatting is delegated.
- getMessage(Supplier<?>, MessageFactory) - Static method in class org.apache.logging.log4j.util.LambdaUtil
-
Returns a Message, either the value supplied by the specified function, or a new Message created by the specified Factory.
- getMessageFactory() - Method in interface org.apache.logging.log4j.Logger
-
Gets the message factory used to convert message Objects and Strings/CharSequences into actual log Messages.
- getMessageFactory() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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.MarkerManager.Log4jMarker
- getName() - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Returns the StructuredDataId name.
- getName() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- getName() - Method in class org.apache.logging.log4j.util.Timer
-
Accessor for the name.
- getNormalForm(Iterable<? extends CharSequence>) - Method in class org.apache.logging.log4j.util.EnvironmentPropertySource
- getNormalForm(Iterable<? extends CharSequence>) - Method in class org.apache.logging.log4j.util.PropertiesPropertySource
- getNormalForm(Iterable<? extends CharSequence>) - Method in interface org.apache.logging.log4j.util.PropertySource
-
Converts a list of property name tokens into a normal form.
- getNormalForm(Iterable<? extends CharSequence>) - Method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- getObject(String) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Gets an object by its name.
- getOptional() - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Returns a list of optional keys.
- getOriginal() - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- getParameter() - Method in class org.apache.logging.log4j.message.ObjectMessage
-
Returns the object parameter.
- getParameter() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
-
Returns the object parameter.
- getParameterCount() - Method in interface org.apache.logging.log4j.message.ReusableMessage
-
Returns the number of parameters that was used to initialize this reusable message for the current content.
- getParameterCount() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
-
This message has exactly one parameter (the object), so always returns one.
- getParameterCount() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- getParameterCount() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
-
This message does not have any parameters so this method always returns zero.
- getParameters() - Method in class org.apache.logging.log4j.message.FormattedMessage
-
Gets 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.ObjectArrayMessage
-
Returns the object as if it were a parameter.
- 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
- getParameters() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
-
Returns the object as if it were a parameter.
- getParameters() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
-
Returns the message parameters.
- getParameters() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- 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.StructuredDataCollectionMessage
- 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.
- getParents() - Method in interface org.apache.logging.log4j.Marker
-
Returns a list of parents of this Marker.
- getParents() - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- getPriority() - Method in class org.apache.logging.log4j.spi.Provider
-
Gets the priority (natural ordering) of this Provider.
- getPriority() - Method in class org.apache.logging.log4j.util.EnvironmentPropertySource
- getPriority() - Method in class org.apache.logging.log4j.util.PropertiesPropertySource
- getPriority() - Method in interface org.apache.logging.log4j.util.PropertySource
-
Returns the order in which this PropertySource has priority.
- getPriority() - Method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- getProcessId() - Static method in class org.apache.logging.log4j.util.ProcessIdUtil
- getProperties() - Static method in class org.apache.logging.log4j.util.PropertiesUtil
-
Returns the PropertiesUtil used by Log4j.
- getProperty(String) - Method in class org.apache.logging.log4j.util.EnvironmentPropertySource
- getProperty(String) - Method in class org.apache.logging.log4j.util.PropertiesPropertySource
- getProperty(String) - Method in interface org.apache.logging.log4j.util.PropertySource
-
For PropertySources that cannot iterate over all the potential properties this provides a direct lookup.
- getProperty(String) - Method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- getPropertyNames() - Method in class org.apache.logging.log4j.util.EnvironmentPropertySource
- getPropertyNames() - Method in class org.apache.logging.log4j.util.PropertiesPropertySource
- getPropertyNames() - Method in interface org.apache.logging.log4j.util.PropertySource
-
Returns the list of all property names.
- getPropertyNames() - Method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- getProvider() - Static method in class org.apache.logging.log4j.util.ProviderUtil
- getProviders() - Static method in class org.apache.logging.log4j.util.ProviderUtil
- getReadOnlyContextData() - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Returns the context data for reading.
- getReadOnlyContextData() - Method in interface org.apache.logging.log4j.spi.ThreadContextMap2
-
Returns the context data for reading.
- getRecursionDepth() - Static method in class org.apache.logging.log4j.spi.AbstractLogger
-
Returns the depth of nested logging calls in the current Thread: zero if no logging call has been made, one if a single logging call without nested logging calls has been made, or more depending on the level of nesting.
- getRequired() - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Returns a list of required keys.
- getResourceBundle() - Method in class org.apache.logging.log4j.message.LocalizedMessageFactory
-
Gets the resource bundle if set.
- getResourceBundle(String, Locale, boolean) - Method in class org.apache.logging.log4j.message.LocalizedMessage
-
Override this to use a ResourceBundle.Control in Java 6
- 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 method that created the event.
- getStackTraceElement(int) - Method in class org.apache.logging.log4j.util.StackLocator
- getStackTraceElement(int) - Static method in class org.apache.logging.log4j.util.StackLocatorUtil
- getStandardLevel() - Method in class org.apache.logging.log4j.Level
-
Gets the standard Level values as an enum.
- getStandardLevel(int) - Static method in enum org.apache.logging.log4j.spi.StandardLevel
-
Method to convert custom Levels into a StandardLevel for conversion to other systems.
- getStatus() - Method in class org.apache.logging.log4j.util.Timer
-
Returns the name of the last operation performed on this timer (Start, Stop, Pause or Resume).
- getStatusData() - Method in class org.apache.logging.log4j.status.StatusLogger
-
Deprecated.Instead of relying on the buffering provided by
StatusLogger
, users should register their own listeners to access to logged events. - getStatusLevel() - Method in class org.apache.logging.log4j.status.StatusConsoleListener
-
Returns the 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
-
Gets the named property as a String.
- getStringProperty(String[], String, Supplier<String>) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Retrieves a property that may be prefixed by more than one string.
- getStringProperty(String, String) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Gets the named property as a String.
- getSystemProperties() - Static method in class org.apache.logging.log4j.util.PropertiesUtil
-
Return the system properties or an empty Properties object if an error occurs.
- getSystemProperty(String, String) - Static method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
- getText() - Method in interface org.apache.logging.log4j.message.FlowMessage
-
The message text like "Enter" or "Exit" used to prefix the actual Message.
- getThreadContextClassLoader() - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Looks up the ClassLoader for this current thread.
- getThreadContextMap() - Method in class org.apache.logging.log4j.spi.Provider
-
Gets the class name of the
ThreadContextMap
implementation of this Provider. - getThreadContextMap() - Static method in class org.apache.logging.log4j.ThreadContext
-
Returns a read-only view of the internal data structure used to store thread context key-value pairs, or
null
if the internal data structure does not implement theReadOnlyThreadContextMap
interface. - getThreadContextMapInstance() - Method in class org.apache.logging.log4j.spi.Provider
- getThreadName() - Method in class org.apache.logging.log4j.status.StatusData
-
Returns the name of the thread associated with the event.
- getThrowable() - Method in class org.apache.logging.log4j.message.FormattedMessage
- 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.ObjectArrayMessage
-
Returns null.
- 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
-
The
Throwable
provided along with the message by one of the following means: explicitly in the constructor as the last message argument that is not referred to by any placeholder in the formatting pattern - getThrowable() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
-
Gets the message if it is a throwable.
- getThrowable() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
-
Returns the Throwable that was given as the last argument, if any.
- getThrowable() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- 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.StructuredDataCollectionMessage
- 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 error 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
-
Deprecated.Use
StatusData.getInstant()
instead. - getType() - Method in class org.apache.logging.log4j.message.StructuredDataMessage
-
Returns this message type.
- getUpperCaseHex(int) - Static method in class org.apache.logging.log4j.util.Chars
-
Converts a digit into an upper-case hexadecimal character or the null character if invalid.
- getUrl() - Method in class org.apache.logging.log4j.spi.Provider
-
Deprecated.since 2.24.0, without replacement.
- getValue(String) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- getValue(String) - Method in interface org.apache.logging.log4j.spi.ObjectThreadContextMap
-
Returns the Object value for the specified key, or
null
if the specified key does not exist in this collection. - getValue(String) - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Returns the value for the specified key, or
null
if the specified key does not exist in this collection. - getValue(String) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- getValueAt(int) - Method in interface org.apache.logging.log4j.util.IndexedReadOnlyStringMap
-
Viewing all key-value pairs as a sequence sorted by key, this method returns the value at the specified index, or
null
if the specified index is less than zero or greater or equal to the size of this collection. - getValueAt(int) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- getVersions() - Method in class org.apache.logging.log4j.spi.Provider
-
Returns the Log4j API versions supported by the implementation.
H
- hasContext(String, ClassLoader, boolean) - Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
-
Checks to see if a LoggerContext is installed.
- hashCode() - Method in class org.apache.logging.log4j.Level
- hashCode() - Method in interface org.apache.logging.log4j.Marker
-
Returns a hash code value based on the name of this marker.
- hashCode() - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- hashCode() - Method in class org.apache.logging.log4j.message.FormattedMessage
- hashCode() - Method in class org.apache.logging.log4j.message.LocalizedMessageFactory
- 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.ObjectArrayMessage
- 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
- hashCode() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- hashCode() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- hashCode() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- hashCode() - Method in class org.apache.logging.log4j.spi.Provider
- hashCode() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- hashCode() - Method in interface org.apache.logging.log4j.util.StringMap
-
Returns a hash code value for the object.
- hashCode() - Method in class org.apache.logging.log4j.util.Timer
- hasLogger(String) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
- hasLogger(String) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Tests if a Logger with the specified name exists.
- hasLogger(String) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
-
Deprecated.As of version
2.25.0
, planned to be removed! UseLoggerRegistry.hasLogger(String, MessageFactory)
instead. - hasLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
- hasLogger(String, MessageFactory) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Tests if a Logger with the specified name and MessageFactory exists.
- hasLogger(String, MessageFactory) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
-
Checks if a logger associated with the given name and message factory exists.
- hasLogger(String, Class<? extends MessageFactory>) - Method in class org.apache.logging.log4j.simple.SimpleLoggerContext
- hasLogger(String, Class<? extends MessageFactory>) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Tests if a Logger with the specified name and MessageFactory type exists.
- hasLogger(String, Class<? extends MessageFactory>) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
-
Checks if a logger associated with the given name and message factory type exists.
- hasParents() - Method in interface org.apache.logging.log4j.Marker
-
Indicates whether this Marker has references to any other Markers.
- hasParents() - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- hasProperty(String) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Returns
true
if the specified property is defined, regardless of its value (it may not have a value). - 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.
- IGNORE_TCCL_PROPERTY - Static variable in class org.apache.logging.log4j.util.LoaderUtil
-
System property to set to ignore the thread context ClassLoader.
- IndexedReadOnlyStringMap - Interface in org.apache.logging.log4j.util
-
An extension of
ReadOnlyStringMap
that imposes a total ordering on its keys. - IndexedStringMap - Interface in org.apache.logging.log4j.util
-
An extension of
StringMap
that imposes a total ordering on its keys. - indexOfKey(String) - Method in interface org.apache.logging.log4j.util.IndexedReadOnlyStringMap
-
Viewing all key-value pairs as a sequence sorted by key, this method returns the index of the specified key in that sequence.
- indexOfKey(String) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- info(CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
INFO
level. - info(CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
INFO
level. - info(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
INFO
level. - info(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
INFO
level. - info(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
INFO
level. - info(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
INFO
level. - info(Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
INFO
level. - info(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
INFO
level. - info(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
INFO
level. - info(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at info level.
- info(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
INFO
level. - info(Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
INFO
level with the specified Marker. - info(Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
INFO
level with the specified Marker. - info(Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
INFO
level. - info(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
INFO
level. - info(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
INFO
level. - info(MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
INFO
level. - info(Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- info(Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- info(Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- INFO - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
An event for informational purposes.
- INFO - Static variable in class org.apache.logging.log4j.Level
-
An event for informational purposes.
- INHERITABLE_MAP - Static variable in class org.apache.logging.log4j.spi.DefaultThreadContextMap
-
Property name ("isThreadContextMapInheritable") for selecting
InheritableThreadLocal
(value "true") or plainThreadLocal
(value is not "true") in the implementation. - init() - Static method in class org.apache.logging.log4j.spi.ThreadContextMapFactory
-
Initializes static variables based on system properties.
- init() - Static method in class org.apache.logging.log4j.ThreadContext
-
Consider private, used for testing.
- INSTANCE - Static variable in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- INSTANCE - Static variable in class org.apache.logging.log4j.message.ParameterizedMessageFactory
-
Instance of ParameterizedMessageFactory.
- INSTANCE - Static variable in class org.apache.logging.log4j.message.ParameterizedNoReferenceMessageFactory
-
Instance of ParameterizedStatusMessageFactory.
- INSTANCE - Static variable in class org.apache.logging.log4j.message.ReusableMessageFactory
-
Instance of ReusableMessageFactory..
- INSTANCE - Static variable in class org.apache.logging.log4j.message.SimpleMessageFactory
-
Instance of StringFormatterMessageFactory.
- INSTANCE - Static variable in class org.apache.logging.log4j.message.StringFormatterMessageFactory
-
Instance of StringFormatterMessageFactory.
- INSTANCE - Static variable in class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
-
Singleton instance.
- INSTANCE - Static variable in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- InternalApi - Annotation Type in org.apache.logging.log4j.util
-
Indicates that the annotated element is considered an internal API to Log4j and should not be used by external code.
- InternalException - Exception in org.apache.logging.log4j.util
-
Exception thrown when an error occurs while accessing internal resources.
- InternalException(String) - Constructor for exception org.apache.logging.log4j.util.InternalException
-
Construct an exception with a message.
- InternalException(String, Throwable) - Constructor for exception org.apache.logging.log4j.util.InternalException
-
Construct an exception with a message and underlying cause.
- InternalException(Throwable) - Constructor for exception org.apache.logging.log4j.util.InternalException
-
Construct an exception with an underlying cause.
- intLevel() - Method in class org.apache.logging.log4j.Level
-
Gets the integral value of this Level.
- intLevel() - Method in enum org.apache.logging.log4j.spi.StandardLevel
-
Returns the integer value of the Level.
- IS_WEB_APP - Static variable in class org.apache.logging.log4j.util.Constants
-
Specifies whether Log4j is used in a servlet container
- isAvailable() - Static method in class org.apache.logging.log4j.util.OsgiServiceLocator
- isBlank(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Checks if a String is blank.
- isClassAvailable(String) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Determines if a named Class can be loaded or not.
- isClassLoaderDependent() - Method in class org.apache.logging.log4j.simple.SimpleLoggerContextFactory
- isClassLoaderDependent() - Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
-
Determines whether or not this factory and perhaps the underlying ContextSelector behavior depend on the callers classloader.
- isDebugEnabled() - 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
- isDebugEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the
DEBUG
Level. - isDebugEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isEmpty() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- isEmpty() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- isEmpty() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- isEmpty() - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- isEmpty() - Method in interface org.apache.logging.log4j.spi.ReadOnlyThreadContextMap
-
Returns true if the Map is empty.
- 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.
- isEmpty() - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Returns
true
if this collection is empty (size is zero),false
otherwise. - isEmpty() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- isEmpty(CharSequence) - Static method in class org.apache.logging.log4j.util.Strings
-
Checks if a CharSequence is empty ("") or null.
- isEnabled(Level) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the given Level.
- isEnabled(Level) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isEnabled(Level, Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the given Level and Marker.
- isEnabled(Level, Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isEnabled(Level, Marker) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Detect if the event would be logged.
- isEnabled(Level, Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Detect if the event would be logged.
- isEnabled(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Detect if the event would be logged.
- isEnabled(Level, Marker, String) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object...) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Detect if the event would be logged.
- isEnabled(Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Determines if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
- isEnabled(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, String, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Detect if the event would be logged.
- isEnabled(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
- isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- isEnabled(Level, Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Tests if logging is enabled.
- isEnabled(Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Detect if the event would be logged.
- isEnabled(Level, Marker, Message, Throwable) - 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() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isErrorEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the
ERROR
Level. - isErrorEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isFatalEnabled() - 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
- isFatalEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the
FATAL
Level. - isFatalEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isFrozen() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
-
Returns whether this context stack is frozen.
- isFrozen() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- isFrozen() - Method in interface org.apache.logging.log4j.util.StringMap
- isInfoEnabled() - 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
- isInfoEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the
INFO
Level. - isInfoEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isInitialized() - Method in interface org.apache.logging.log4j.util.Lazy
-
Indicates whether this lazy value has been initialized.
- isInRange(Level, Level) - Method in class org.apache.logging.log4j.Level
-
Compares this level against the levels passed as arguments and returns true if this level is in between the given levels.
- isInstanceOf(String) - Method in interface org.apache.logging.log4j.Marker
-
Checks whether this Marker is an instance of the specified Marker.
- isInstanceOf(String) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- isInstanceOf(Marker) - Method in interface org.apache.logging.log4j.Marker
-
Checks whether this Marker is an instance of the specified Marker.
- isInstanceOf(Marker) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- isLessSpecificThan(Level) - Method in class 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 is less specific.
- isMoreSpecificThan(Level) - Method in class 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 is more specific.
- isNotBlank(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Checks if a String is not blank.
- isNotEmpty(CharSequence) - Static method in class org.apache.logging.log4j.util.Strings
-
Checks if a CharSequence is not empty ("") and not null.
- isOsWindows() - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Returns true if system properties tell us we are running on Windows.
- 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() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isTraceEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the
TRACE
level. - isTraceEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- isWarnEnabled() - 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
- isWarnEnabled(Marker) - Method in interface org.apache.logging.log4j.Logger
-
Checks whether this Logger is enabled for the
WARN
Level. - isWarnEnabled(Marker) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- iterator() - Method in class org.apache.logging.log4j.message.StructuredDataCollectionMessage
- iterator() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- iterator() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
J
- JAVA - Enum constant in enum org.apache.logging.log4j.message.MapMessage.MapFormat
-
The map should be formatted the same as documented by
AbstractMap.toString()
. - JAVA_MAJOR_VERSION - Static variable in class org.apache.logging.log4j.util.Constants
-
Java major version.
- JAVA_UNQUOTED - Enum constant in enum org.apache.logging.log4j.message.MapMessage.MapFormat
-
The map should be formatted the same as documented by
AbstractMap.toString()
but without quotes. - join(Iterable<?>, char) - Static method in class org.apache.logging.log4j.util.Strings
-
Joins the elements of the provided
Iterable
into a single String containing the provided elements. - join(Iterator<?>, char) - Static method in class org.apache.logging.log4j.util.Strings
-
Joins the elements of the provided
Iterator
into a single String containing the provided elements. - joinAsCamelCase(Iterable<? extends CharSequence>) - Static method in class org.apache.logging.log4j.util.PropertySource.Util
-
Joins a list of strings using camelCaseConventions.
- JSON - Enum constant in enum org.apache.logging.log4j.message.MapMessage.MapFormat
-
The map should be formatted as JSON.
L
- LambdaUtil - Class in org.apache.logging.log4j.util
-
Utility class for lambda support.
- lazy(Supplier<T>) - Static method in interface org.apache.logging.log4j.util.Lazy
-
Creates a strict lazy value using the provided Supplier.
- Lazy<T> - Interface in org.apache.logging.log4j.util
-
Provides a lazily-initialized value from a
Supplier<T>
. - LazyBoolean - Class in org.apache.logging.log4j.util
- LazyBoolean(BooleanSupplier) - Constructor for class org.apache.logging.log4j.util.LazyBoolean
- left(String, int) - Static method in class org.apache.logging.log4j.util.Strings
-
Gets the leftmost
len
characters of a String. - length() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- length() - Method in class org.apache.logging.log4j.message.SimpleMessage
- Level - Class in org.apache.logging.log4j
-
Levels used for identifying the severity of an event.
- LF - Static variable in class org.apache.logging.log4j.util.Chars
-
Line Feed.
- LINE_SEPARATOR - Static variable in class org.apache.logging.log4j.util.Strings
-
OS-dependent line separator, defaults to
"\n"
if the system property""line.separator"
cannot be read. - loadClass(String) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads a class by name.
- loadClassUnchecked(String) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and initializes a class given its fully qualified class name.
- LoaderUtil - Class in org.apache.logging.log4j.util
-
Consider this class private. Utility class for ClassLoaders.
- loadLoggerContextFactory() - Method in class org.apache.logging.log4j.spi.Provider
-
Loads the
LoggerContextFactory
class specified by this Provider. - loadServices(Class<T>, MethodHandles.Lookup) - Static method in class org.apache.logging.log4j.util.OsgiServiceLocator
- loadServices(Class<T>, MethodHandles.Lookup, boolean) - Static method in class org.apache.logging.log4j.util.OsgiServiceLocator
- loadThreadContextMap() - Method in class org.apache.logging.log4j.spi.Provider
-
Loads the
ThreadContextMap
class specified by this Provider. - LocalizedMessage - Class in org.apache.logging.log4j.message
-
Provides some level of compatibility with Log4j 1.x and convenience but is not the recommended way to Localize messages.
- LocalizedMessage(String, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
- LocalizedMessage(String, Object[]) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
-
Constructor with message pattern and arguments.
- LocalizedMessage(String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
- LocalizedMessage(String, 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(String, String, Object, 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(String, Locale, String, 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(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(Locale, String, Object, Object) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
- LocalizedMessage(ResourceBundle, String) - Constructor for class org.apache.logging.log4j.message.LocalizedMessage
- LocalizedMessage(ResourceBundle, 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(ResourceBundle, String, Object, 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(ResourceBundle, Locale, String, 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
- LocalizedMessageFactory - Class in org.apache.logging.log4j.message
- LocalizedMessageFactory(String) - Constructor for class org.apache.logging.log4j.message.LocalizedMessageFactory
- LocalizedMessageFactory(ResourceBundle) - Constructor for class org.apache.logging.log4j.message.LocalizedMessageFactory
- LocationAwareLogger - Interface in org.apache.logging.log4j.spi
-
Logger that accepts the location of the caller.
- log() - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged.
- log(CharSequence) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message.
- log(Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message.
- log(String) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message.
- log(String, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object...) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.LogBuilder
-
Logs a message with parameters.
- log(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message and parameters.
- log(Level, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the given level.
- log(Level, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a CharSequence at the given level including the stack trace of the
Throwable
throwable
passed as parameter. - log(Level, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the given level.
- log(Level, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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
throwable
passed as parameter. - log(Level, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the given level.
- log(Level, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the given level.
- log(Level, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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
throwable
passed as parameter. - log(Level, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the specified level.
- log(Level, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the given level.
- log(Level, Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a CharSequence at the given level including the stack trace of the
Throwable
throwable
passed as parameter. - log(Level, Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the given level.
- log(Level, Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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
throwable
passed as parameter. - log(Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the given level.
- log(Level, Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the specified level.
- log(Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, StackTraceElement, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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
throwable
passed as parameter. - log(Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the specified level.
- log(Level, Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the specified level with the specified Marker.
- log(Level, Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of the
Throwable
throwable
passed as parameter. - log(Level, Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.
- log(Level, Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of the
Throwable
throwable
passed as parameter. - log(Level, Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the specified level.
- log(Level, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of the
Throwable
throwable
passed as parameter. - log(Level, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the specified level.
- log(Level, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Level, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of the
Throwable
throwable
passed as parameter. - log(Level, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- log(Message) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message.
- 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(Supplier<Message>) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message.
- LOG4J2_DEBUG - Static variable in class org.apache.logging.log4j.util.Constants
-
Name of the system property that will turn on TRACE level internal log4j2 status logging.
- Log4jMarker(String) - Constructor for class org.apache.logging.log4j.MarkerManager.Log4jMarker
-
Constructs a new Marker.
- logAndGet(Supplier<Message>) - Method in interface org.apache.logging.log4j.LogBuilder
-
Causes all the data collected to be logged along with the message.
- LogBuilder - Interface in org.apache.logging.log4j
-
Interface for constructing log events before logging them.
- logEvent(StructuredDataMessage) - Static method in class org.apache.logging.log4j.EventLogger
-
Deprecated.Logs events with a level of ALL.
- logEvent(StructuredDataMessage, Level) - Static method in class org.apache.logging.log4j.EventLogger
-
Deprecated.Logs events and specify the logging level.
- logger - Variable in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
The wrapped Logger.
- Logger - Interface in org.apache.logging.log4j
-
This is the central interface in the log4j package.
- LOGGER_CONTEXT_FACTORY - Static variable in class org.apache.logging.log4j.spi.Provider
-
Deprecated.since 2.24.0
- LoggerAdapter<L> - Interface in org.apache.logging.log4j.spi
-
A basic registry for
LoggerContext
objects and their associated external Logger classes. - 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. - LoggerContextKey - Class in org.apache.logging.log4j.spi
-
Deprecated.with no replacement - no longer used
- LoggerContextKey() - Constructor for class org.apache.logging.log4j.spi.LoggerContextKey
-
Deprecated.
- LoggerContextShutdownAware - Interface in org.apache.logging.log4j.spi
-
Interface allowing interested classes to know when a LoggerContext has shutdown - if the LoggerContext implementation provides a way to register listeners.
- LoggerContextShutdownEnabled - Interface in org.apache.logging.log4j.spi
-
LoggerContexts implementing this are able register LoggerContextShutdownAware classes.
- LoggerNameAwareMessage - Interface in org.apache.logging.log4j.message
-
Message that is interested in the name of the Logger.
- LoggerRegistry<T extends ExtendedLogger> - Class in org.apache.logging.log4j.spi
-
Convenience class to be used as an
ExtendedLogger
registry byLoggerContext
implementations. - LoggerRegistry() - Constructor for class org.apache.logging.log4j.spi.LoggerRegistry
- LoggerRegistry(LoggerRegistry.MapFactory<T>) - Constructor for class org.apache.logging.log4j.spi.LoggerRegistry
-
Deprecated.As of version
2.25.0
, planned to be removed! - LoggerRegistry.ConcurrentMapFactory<T extends ExtendedLogger> - Class in org.apache.logging.log4j.spi
-
Deprecated.As of version
2.25.0
, planned to be removed! - LoggerRegistry.MapFactory<T extends ExtendedLogger> - Interface in org.apache.logging.log4j.spi
-
Deprecated.As of version
2.25.0
, planned to be removed! - LoggerRegistry.WeakMapFactory<T extends ExtendedLogger> - Class in org.apache.logging.log4j.spi
-
Deprecated.As of version
2.25.0
, planned to be removed! - 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.
- logIfEnabled(String, Level, Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a CharSequence message if the specified level is active.
- logIfEnabled(String, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object...) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message whose parameters are only to be constructed if the specified level is active.
- logIfEnabled(String, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message if the specified level is active.
- logIfEnabled(String, Level, Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message which is only to be constructed if the specified level is active.
- logIfEnabled(String, Level, Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logIfEnabled(String, Level, Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message which is only to be constructed if the specified level is active.
- LogManager - Class in org.apache.logging.log4j
-
The anchor point for the Log4j logging system.
- LogManager() - Constructor for class org.apache.logging.log4j.LogManager
-
Prevents instantiation
- logMessage(String, Level, Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- logMessage(String, Level, Marker, Message, Throwable) - Method in interface org.apache.logging.log4j.spi.ExtendedLogger
-
Logs a message at the specified level.
- logMessage(String, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.spi.ExtendedLoggerWrapper
-
Always log an event.
- logMessage(String, Level, Marker, Message, Throwable) - Method in class org.apache.logging.log4j.status.StatusLogger
- logMessage(String, Level, Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(String, Level, Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(Level, Marker, String, StackTraceElement, Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a Message.
- logMessage(Level, Marker, String, StackTraceElement, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- logMessage(Level, Marker, String, StackTraceElement, Message, Throwable) - Method in interface org.apache.logging.log4j.spi.LocationAwareLogger
- lookupIgnoreCase(String) - Static method in enum org.apache.logging.log4j.message.MapMessage.MapFormat
-
Maps a format name to an
MapMessage.MapFormat
while ignoring case.
M
- makeId(String, int) - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Deprecated.Use
StructuredDataId.makeId(String, String)
instead - makeId(String, String) - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Creates an id based on the current id.
- makeId(StructuredDataId) - Method in class org.apache.logging.log4j.message.StructuredDataId
-
Creates an id using another id to supply default values.
- map(Function<? super T, ? extends R>) - Method in interface org.apache.logging.log4j.util.Lazy
-
Creates a new lazy value derived from this lazy value using the provided value mapping function.
- MapMessage<M extends MapMessage<M,
V>, V> - 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
-
Constructs a new instance.
- MapMessage(int) - Constructor for class org.apache.logging.log4j.message.MapMessage
-
Constructs a new instance.
- MapMessage(Map<String, V>) - Constructor for class org.apache.logging.log4j.message.MapMessage
-
Constructs a new instance 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.
- MarkerManager.Log4jMarker - Class in org.apache.logging.log4j
-
Consider this class private, it is only public to satisfy Jackson for XML and JSON IO.
- MAX_REUSABLE_MESSAGE_SIZE - Static variable in class org.apache.logging.log4j.util.Constants
-
Maximum size of the StringBuilders used in RingBuffer LogEvents to store the contents of reusable Messages.
- MAX_STATUS_ENTRIES - Static variable in class org.apache.logging.log4j.status.StatusLogger
-
The name of the system property that can be configured with the maximum number of events buffered.
- memento() - Method in interface org.apache.logging.log4j.message.ReusableMessage
-
Returns an immutable snapshot of the current internal state of this reusable message.
- memento() - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
- memento() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- memento() - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- Message - Interface in org.apache.logging.log4j.message
-
An interface for various Message implementations that can be logged.
- MessageCollectionMessage<T> - Interface in org.apache.logging.log4j.message
-
A Message that is a collection of Messages.
- MessageFactory - Interface in org.apache.logging.log4j.message
-
Creates messages.
- MessageFactory2 - Interface in org.apache.logging.log4j.message
-
Creates messages.
- MessageFactory2Adapter - Class in org.apache.logging.log4j.spi
-
Adapts a legacy MessageFactory to the new MessageFactory2 interface.
- MessageFactory2Adapter(MessageFactory) - Constructor for class org.apache.logging.log4j.spi.MessageFactory2Adapter
- 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
-
Constructs a message.
- MessageFormatMessage(Locale, String, Object...) - Constructor for class org.apache.logging.log4j.message.MessageFormatMessage
-
Constructs a message.
- MessageFormatMessageFactory - Class in org.apache.logging.log4j.message
- MessageFormatMessageFactory() - Constructor for class org.apache.logging.log4j.message.MessageFormatMessageFactory
-
Constructs a message factory with default flow strings.
- MessageSupplier - Interface in org.apache.logging.log4j.util
-
Classes implementing this interface know how to supply
Message
s. - 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.
- MultiFormatStringBuilderFormattable - Interface in org.apache.logging.log4j.util
-
A Message that can render itself in more than one way.
- MutableThreadContextStack - Class in org.apache.logging.log4j.spi
-
TODO
- MutableThreadContextStack() - Constructor for class org.apache.logging.log4j.spi.MutableThreadContextStack
-
Constructs an empty MutableThreadContextStack.
- MutableThreadContextStack(List<String>) - Constructor for class org.apache.logging.log4j.spi.MutableThreadContextStack
-
Constructs a new instance.
N
- name - Variable in class org.apache.logging.log4j.spi.AbstractLogger
- name() - Method in class org.apache.logging.log4j.Level
-
Gets the symbolic name of this Level.
- names() - Static method in enum org.apache.logging.log4j.message.MapMessage.MapFormat
-
All
MapFormat
names. - newCheckedInstanceOf(String, Class<T>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and instantiates a derived class using its default constructor.
- newCheckedInstanceOfProperty(String, Class<T>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and instantiates a class given by a property name.
- newCheckedInstanceOfProperty(String, Class<T>, Supplier<T>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and instantiates a class given by a property name.
- newEntryMessage(String, Object...) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newEntryMessage(String, Object...) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new entry message based on a format string with parameters.
- newEntryMessage(Message) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newEntryMessage(Message) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new entry message based on an existing message.
- newExitMessage(Object, EntryMessage) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newExitMessage(Object, EntryMessage) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new exit message based on a return value and an existing entry message.
- newExitMessage(Object, Message) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newExitMessage(Object, Message) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new exit message based on a return value and an existing message.
- newExitMessage(String, Object) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newExitMessage(String, Object) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new exit message based on a return value and a forma string.
- newExitMessage(EntryMessage) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newExitMessage(EntryMessage) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new exit message based on no return value and an existing entry message.
- newExitMessage(Message) - Method in class org.apache.logging.log4j.message.DefaultFlowMessageFactory
- newExitMessage(Message) - Method in interface org.apache.logging.log4j.message.FlowMessageFactory
-
Creates a new exit message based on no return value and an existing message.
- newInstance(Map<String, String>) - Method in class org.apache.logging.log4j.message.StringMapMessage
-
Constructs a new instance based on an existing Map.
- newInstance(Map<String, String>) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- newInstance(Map<String, V>) - Method in class org.apache.logging.log4j.message.MapMessage
-
Constructs a new instance based on an existing Map.
- newInstanceOf(Class<T>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and instantiates a Class using the default constructor.
- newInstanceOf(String) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and instantiates a Class using the default constructor.
- newInstanceOfUnchecked(Class<T>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Creates an instance of the provided class using the default constructor.
- newInstanceOfUnchecked(String) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads and instantiates a class by name using its default constructor.
- newInstanceOfUnchecked(String, Class<T>) - Static method in class org.apache.logging.log4j.util.LoaderUtil
-
Loads the provided class by name as a checked subtype of the given class.
- newLogger(String, LoggerContext) - Method in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
-
Creates a new named logger for a given
LoggerContext
. - newMessage(CharSequence) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(CharSequence) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new message for the specified CharSequence.
- newMessage(CharSequence) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(CharSequence) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(Object) - Method in interface org.apache.logging.log4j.message.MessageFactory
-
Creates a new message based on an Object.
- newMessage(Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
-
Creates
ReusableObjectMessage
instances. - newMessage(Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String) - Method in class org.apache.logging.log4j.message.LocalizedMessageFactory
- newMessage(String) - Method in interface org.apache.logging.log4j.message.MessageFactory
-
Creates a new message based on a String.
- newMessage(String) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
-
Creates
ReusableSimpleMessage
instances. - newMessage(String) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- 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
LocalizedMessage
instances. - 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.ParameterizedNoReferenceMessageFactory
-
Creates
SimpleMessage
instances containing the formatted parameterized message string. - newMessage(String, Object...) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
-
Creates
ReusableParameterizedMessage
instances. - newMessage(String, Object...) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
-
Creates
StringFormattedMessage
instances. - newMessage(String, Object...) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
-
Creates
StringFormattedMessage
instances. - newMessage(String, Object...) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.AbstractMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.FormattedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.message.MessageFactory2
-
Creates a new parameterized message.
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.MessageFormatMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ParameterizedMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.SimpleMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.StringFormatterMessageFactory
- newMessage(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.MessageFactory2Adapter
- NOOP - Static variable in interface org.apache.logging.log4j.LogBuilder
-
NOOP Logbuilder
- NoOpThreadContextMap - Class in org.apache.logging.log4j.spi
-
ThreadContextMap
implementation used when either of system propertiesdisableThreadContextMap
or . - NoOpThreadContextMap() - Constructor for class org.apache.logging.log4j.spi.NoOpThreadContextMap
- NUL - Static variable in class org.apache.logging.log4j.util.Chars
-
NUL.
O
- ObjectArrayMessage - Class in org.apache.logging.log4j.message
-
Handles messages that contain an Object[].
- ObjectArrayMessage(Object...) - Constructor for class org.apache.logging.log4j.message.ObjectArrayMessage
-
Creates the ObjectMessage.
- 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
-
Creates the ObjectMessage.
- ObjectThreadContextMap - Interface in org.apache.logging.log4j.spi
-
Extension service provider interface to allow putting Object values in the
ThreadContext
. - OFF - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
No events will be logged.
- OFF - Static variable in class org.apache.logging.log4j.Level
-
No events will be logged.
- org.apache.logging.log4j - package org.apache.logging.log4j
-
Public API for Log4j 2.
- org.apache.logging.log4j.message - package org.apache.logging.log4j.message
-
Public Message Types used for Log4j 2.
- 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 or for internal use by API classes.
- org.apache.logging.log4j.status - package org.apache.logging.log4j.status
-
Status API for Log4j 2.
- 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.
- OsgiServiceLocator - Class in org.apache.logging.log4j.util
- OsgiServiceLocator() - Constructor for class org.apache.logging.log4j.util.OsgiServiceLocator
P
- ParameterConsumer<S> - Interface in org.apache.logging.log4j.message
-
An operation that accepts two input arguments and returns no result.
- ParameterizedMessage - Class in org.apache.logging.log4j.message
-
A
Message
accepting argument placeholders in the formatting pattern. - ParameterizedMessage(String, Object) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
-
Constructor with a pattern and a single argument.
- ParameterizedMessage(String, Object...) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
-
Constructor with a pattern and multiple arguments.
- ParameterizedMessage(String, Object[], Throwable) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
-
Constructs an instance.
- ParameterizedMessage(String, Object, Object) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
-
Constructor with a pattern and two arguments.
- ParameterizedMessage(String, String[], Throwable) - Constructor for class org.apache.logging.log4j.message.ParameterizedMessage
-
Deprecated.
- ParameterizedMessageFactory - Class in org.apache.logging.log4j.message
- ParameterizedMessageFactory() - Constructor for class org.apache.logging.log4j.message.ParameterizedMessageFactory
-
Constructs a message factory.
- ParameterizedNoReferenceMessageFactory - Class in org.apache.logging.log4j.message
- ParameterizedNoReferenceMessageFactory() - Constructor for class org.apache.logging.log4j.message.ParameterizedNoReferenceMessageFactory
-
Constructs a message factory with default flow strings.
- ParameterVisitable - Interface in org.apache.logging.log4j.message
-
Allows message parameters to be iterated over without any allocation or memory copies.
- partitionOnCommonPrefixes(Properties) - Static method in class org.apache.logging.log4j.util.PropertiesUtil
-
Partitions a properties map based on common key prefixes up to the first period.
- partitionOnCommonPrefixes(Properties, boolean) - Static method in class org.apache.logging.log4j.util.PropertiesUtil
-
Partitions a properties map based on common key prefixes up to the first period.
- pause() - Method in class org.apache.logging.log4j.util.Timer
-
Pause the timer.
- Paused - Enum constant in enum org.apache.logging.log4j.util.Timer.Status
- 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.
- PerformanceSensitive - Annotation Type in org.apache.logging.log4j.util
-
Indicates that a particular annotated construct was written with certain performance constraints in mind that should be considered when modifying or testing.
- 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, 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
- 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, Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- printStack(StringBuilder, StackTraceElement[]) - Method in interface org.apache.logging.log4j.message.ThreadInformation
-
Formats the stack trace into the provided StringBuilder.
- printThreadInfo(StringBuilder) - Method in interface org.apache.logging.log4j.message.ThreadInformation
-
Formats the thread information into the provided StringBuilder.
- ProcessIdUtil - Class in org.apache.logging.log4j.util
-
Provides the PID of the current JVM.
- ProcessIdUtil() - Constructor for class org.apache.logging.log4j.util.ProcessIdUtil
- PROPERTIES_FILE_NAME - Static variable in class org.apache.logging.log4j.status.StatusLogger
-
The name of the file to be searched in the classpath to read properties from.
- PropertiesPropertySource - Class in org.apache.logging.log4j.util
-
PropertySource backed by a
Properties
instance. - PropertiesPropertySource(Properties) - Constructor for class org.apache.logging.log4j.util.PropertiesPropertySource
- PropertiesPropertySource(Properties, int) - Constructor for class org.apache.logging.log4j.util.PropertiesPropertySource
- PropertiesUtil - Class in org.apache.logging.log4j.util
-
Consider this class private.
- PropertiesUtil(String) - Constructor for class org.apache.logging.log4j.util.PropertiesUtil
-
Constructs a PropertiesUtil for a given properties file name on the classpath.
- PropertiesUtil(Properties) - Constructor for class org.apache.logging.log4j.util.PropertiesUtil
-
Constructs a PropertiesUtil using a given Properties object as its source of defined properties.
- PropertyFilePropertySource - Class in org.apache.logging.log4j.util
-
PropertySource backed by a properties file.
- PropertyFilePropertySource(String) - Constructor for class org.apache.logging.log4j.util.PropertyFilePropertySource
- PropertyFilePropertySource(String, boolean) - Constructor for class org.apache.logging.log4j.util.PropertyFilePropertySource
- PropertySource - Interface in org.apache.logging.log4j.util
-
A source for global configuration properties.
- PropertySource.Comparator - Class in org.apache.logging.log4j.util
-
Comparator for ordering PropertySource instances by priority.
- PropertySource.Util - Class in org.apache.logging.log4j.util
-
Utility methods useful for PropertySource implementations.
- provider() - Static method in class org.apache.logging.log4j.util.EnvironmentPropertySource
-
Method used by Java 9+ to instantiate providers
- provider() - Static method in class org.apache.logging.log4j.util.SystemPropertiesPropertySource
-
Method used by Java 9+ to instantiate providers
- Provider - Class in org.apache.logging.log4j.spi
-
Service class used to bind the Log4j API with an implementation.
- Provider(Integer, String) - Constructor for class org.apache.logging.log4j.spi.Provider
- Provider(Integer, String, Class<? extends LoggerContextFactory>) - Constructor for class org.apache.logging.log4j.spi.Provider
- Provider(Integer, String, Class<? extends LoggerContextFactory>, Class<? extends ThreadContextMap>) - Constructor for class org.apache.logging.log4j.spi.Provider
- Provider(Properties, URL, ClassLoader) - Constructor for class org.apache.logging.log4j.spi.Provider
-
Deprecated.since 2.24.0
- PROVIDER_PROPERTY_NAME - Static variable in class org.apache.logging.log4j.spi.Provider
-
System property used to specify the class name of the provider to use.
- ProviderActivator - Class in org.apache.logging.log4j.util
-
Utility class to register Log4j2 providers in an OSGI environment.
- ProviderActivator(Provider) - Constructor for class org.apache.logging.log4j.util.ProviderActivator
- ProviderUtil - Class in org.apache.logging.log4j.util
-
Consider this class private.
- pure(Supplier<T>) - Static method in interface org.apache.logging.log4j.util.Lazy
-
Creates a pure lazy value using the provided Supplier to initialize the value.
- push(String) - Method in class org.apache.logging.log4j.CloseableThreadContext.Instance
-
Pushes new diagnostic context information on to the Thread Context Stack.
- push(String) - Static method in class org.apache.logging.log4j.CloseableThreadContext
-
Pushes new diagnostic context information on to the Thread Context Stack.
- 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
-
Pushes an element onto the stack.
- push(String) - Static method in class org.apache.logging.log4j.ThreadContext
-
Pushes new diagnostic context information for the current thread.
- push(String, Object[]) - Method in class org.apache.logging.log4j.CloseableThreadContext.Instance
-
Pushes new diagnostic context information on to the Thread Context Stack.
- push(String, Object...) - Static method in class org.apache.logging.log4j.CloseableThreadContext
-
Pushes new diagnostic context information on to the Thread Context Stack.
- push(String, Object...) - Static method in class org.apache.logging.log4j.ThreadContext
-
Pushes new diagnostic context information for the current thread.
- pushAll(List<String>) - Method in class org.apache.logging.log4j.CloseableThreadContext.Instance
-
Populates the Thread Context Stack with the supplied stack.
- pushAll(List<String>) - Static method in class org.apache.logging.log4j.CloseableThreadContext
-
Populates the Thread Context Stack with the supplied stack.
- put(String, String) - Method in class org.apache.logging.log4j.CloseableThreadContext.Instance
-
Populates the Thread Context Map with the supplied key/value pair.
- put(String, String) - Static method in class org.apache.logging.log4j.CloseableThreadContext
-
Populates the Thread Context Map with the supplied key/value pair.
- put(String, String) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- put(String, String) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- put(String, String) - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- put(String, String) - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Puts a context value (the
o
parameter) as identified with thekey
parameter into the current thread's context map. - put(String, String) - Static method in class org.apache.logging.log4j.ThreadContext
-
Puts a context value (the
value
parameter) as identified with thekey
parameter into the current thread's context map. - putAll(Map<String, String>) - Method in class org.apache.logging.log4j.CloseableThreadContext.Instance
-
Populates the Thread Context Map with the supplied key/value pairs.
- putAll(Map<String, String>) - Static method in class org.apache.logging.log4j.CloseableThreadContext
-
Populates the Thread Context Map with the supplied key/value pairs.
- putAll(Map<String, String>) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds all the elements from the specified Map.
- putAll(Map<String, String>) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- putAll(Map<String, String>) - Method in interface org.apache.logging.log4j.spi.ThreadContextMap2
-
Puts all given context map entries into the current thread's context map.
- putAll(Map<String, String>) - Static method in class org.apache.logging.log4j.ThreadContext
-
Puts all given context map entries into the current thread's context map.
- putAll(ReadOnlyStringMap) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- putAll(ReadOnlyStringMap) - Method in interface org.apache.logging.log4j.util.StringMap
-
Copies all key-value pairs from the specified
ReadOnlyStringMap
into thisStringMap
. - putAllValues(Map<String, V>) - Method in interface org.apache.logging.log4j.spi.ObjectThreadContextMap
-
Puts all given key-value pairs into the collection.
- putIfAbsent(String, MessageFactory, T) - Method in class org.apache.logging.log4j.spi.LoggerRegistry
-
Registers the provided logger.
- putIfAbsent(Map<String, T>, String, T) - Method in class org.apache.logging.log4j.spi.LoggerRegistry.ConcurrentMapFactory
-
Deprecated.
- putIfAbsent(Map<String, T>, String, T) - Method in interface org.apache.logging.log4j.spi.LoggerRegistry.MapFactory
-
Deprecated.
- putIfAbsent(Map<String, T>, String, T) - Method in class org.apache.logging.log4j.spi.LoggerRegistry.WeakMapFactory
-
Deprecated.
- putIfNull(String, String) - Static method in class org.apache.logging.log4j.ThreadContext
-
Puts a context value (the
value
parameter) as identified with thekey
parameter into the current thread's context map if the key does not exist. - putObject(String, Object) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Associates an object into the LoggerContext by name for later use.
- putObjectIfAbsent(String, Object) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Associates an object into the LoggerContext by name for later use if an object is not already stored with that key.
- putValue(String, Object) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- putValue(String, Object) - Method in interface org.apache.logging.log4j.util.StringMap
-
Puts the specified key-value pair into the collection.
- putValue(String, V) - Method in interface org.apache.logging.log4j.spi.ObjectThreadContextMap
-
Puts the specified key-value pair into the collection.
Q
- quote(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Returns a quoted string.
- QUOTE - Static variable in class org.apache.logging.log4j.util.Chars
-
Single Quote ['].
R
- ReadOnlyStringMap - Interface in org.apache.logging.log4j.util
-
A read-only collection of String keys mapped to values of arbitrary type.
- ReadOnlyThreadContextMap - Interface in org.apache.logging.log4j.spi
-
Read-only view of the data structure that implements MDC behavior for
ThreadContext
. - 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
-
Registers a new listener.
- registry - Variable in class org.apache.logging.log4j.spi.AbstractLoggerAdapter
-
A map to store loggers for their given LoggerContexts.
- release(Message) - Static method in class org.apache.logging.log4j.message.ReusableMessageFactory
-
Invokes
Clearable.clear()
when possible. - reload() - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Deprecated.since 2.24.0 caching of property values is disabled.
- 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 class org.apache.logging.log4j.message.MapMessage
-
Removes the element with the specified name.
- remove(String) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- remove(String) - Method in class org.apache.logging.log4j.spi.NoOpThreadContextMap
- remove(String) - Method in interface org.apache.logging.log4j.spi.ThreadContextMap
-
Removes the context identified by the
key
parameter. - remove(String) - Static method in class org.apache.logging.log4j.ThreadContext
-
Removes the context value identified by the
key
parameter. - remove(String) - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- remove(String) - Method in interface org.apache.logging.log4j.util.StringMap
-
Removes the key-value pair for the specified key from this data structure.
- remove(Marker) - Method in interface org.apache.logging.log4j.Marker
-
Removes the specified Marker as a parent of this Marker.
- remove(Marker) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- removeAll(Iterable<String>) - Method in interface org.apache.logging.log4j.spi.CleanableThreadContextMap
-
Removes all given context map keys from the current thread's context map.
- removeAll(Iterable<String>) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- removeAll(Iterable<String>) - Static method in class org.apache.logging.log4j.ThreadContext
-
Removes the context values identified by the
keys
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
-
Removes the given listener.
- removeObject(String) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Removes an object if it is present.
- removeObject(String, Object) - Method in interface org.apache.logging.log4j.spi.LoggerContext
-
Removes an object if it is present and the provided object is stored.
- removePropertySource(PropertySource) - Method in class org.apache.logging.log4j.util.PropertiesUtil
-
Removes a
PropertySource
. - removeStack() - Static method in class org.apache.logging.log4j.ThreadContext
-
Removes the diagnostic context for this thread.
- repeat(String, int) - Static method in class org.apache.logging.log4j.util.Strings
-
Creates a new string repeating given
str
count
times. - requiresLocation() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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 event buffer, removes the registered (not the fallback one!) listeners, and resets the fallback listener.
- reset() - Method in class org.apache.logging.log4j.util.LazyBoolean
- resolveClass(ObjectStreamClass) - Method in class org.apache.logging.log4j.util.FilteredObjectInputStream
- resume() - Method in class org.apache.logging.log4j.util.Timer
-
Resume the timer.
- retainAll(Collection<?>) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- retainAll(Collection<?>) - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- ReusableMessage - Interface in org.apache.logging.log4j.message
-
Messages implementing this interface are reused between logging calls.
- ReusableMessageFactory - Class in org.apache.logging.log4j.message
-
Implementation of the
MessageFactory
interface that avoids allocating temporary objects where possible. - ReusableMessageFactory() - Constructor for class org.apache.logging.log4j.message.ReusableMessageFactory
-
Constructs a message factory.
- ReusableObjectMessage - Class in org.apache.logging.log4j.message
-
Mutable Message wrapper around an Object message.
- ReusableObjectMessage() - Constructor for class org.apache.logging.log4j.message.ReusableObjectMessage
- ReusableParameterizedMessage - Class in org.apache.logging.log4j.message
-
Reusable parameterized message.
- ReusableParameterizedMessage() - Constructor for class org.apache.logging.log4j.message.ReusableParameterizedMessage
-
Creates a reusable message.
- ReusableSimpleMessage - Class in org.apache.logging.log4j.message
-
Mutable Message wrapper around a String message.
- ReusableSimpleMessage() - Constructor for class org.apache.logging.log4j.message.ReusableSimpleMessage
- ROOT_LOGGER_NAME - Static variable in class org.apache.logging.log4j.LogManager
-
The name of the root Logger.
S
- safeStream(Class<S>, ServiceLoader<? extends S>, Logger) - Static method in class org.apache.logging.log4j.util.ServiceLoaderUtil
-
Retrieves services registered with
ServiceLoader
- ServiceLoaderUtil - Class in org.apache.logging.log4j.util
-
An utility class to retrieve services in a safe way.
- set(CharSequence) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- set(Object) - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
- set(String) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- set(String, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object...) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- set(T) - Method in interface org.apache.logging.log4j.util.Lazy
-
Sets this lazy value to the provided value.
- setAsBoolean(boolean) - Method in class org.apache.logging.log4j.util.LazyBoolean
- setEntryPoint(String) - Method in interface org.apache.logging.log4j.BridgeAware
-
To set fully qualified class name of the entry point to the logging system.
- setFactory(LoggerContextFactory) - Static method in class org.apache.logging.log4j.LogManager
-
Sets the current LoggerContextFactory to use.
- setFilters(String...) - Method in class org.apache.logging.log4j.status.StatusConsoleListener
-
Deprecated.This method is ineffective and only kept for binary backward compatibility.
- 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
-
Deprecated.Instead use the
setLevel(Level)
method on the fallback listener returned byStatusLogger.getFallbackListener()
. - setLogger(StatusLogger) - Static method in class org.apache.logging.log4j.status.StatusLogger
-
Sets the static (i.e., singleton) instance returned by
StatusLogger.getLogger()
. - 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
- setParents(Marker...) - Method in interface org.apache.logging.log4j.Marker
-
Replaces the set of parent Markers with the provided Markers.
- setParents(Marker...) - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- setStack(Collection<String>) - Static method in class org.apache.logging.log4j.ThreadContext
-
Sets this thread's stack.
- setStream(PrintStream) - Method in class org.apache.logging.log4j.simple.SimpleLogger
- setStream(PrintStream) - Method in class org.apache.logging.log4j.status.StatusConsoleListener
-
Sets the output stream to a new value.
- setType(String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- shutdown() - Static method in class org.apache.logging.log4j.LogManager
-
Shutdown using the LoggerContext appropriate for the caller of this method.
- shutdown(boolean) - Static method in class org.apache.logging.log4j.LogManager
-
Shutdown the logging system if the logging system supports it.
- shutdown(boolean, boolean) - Static method in class org.apache.logging.log4j.LogManager
-
Shutdown the logging system if the logging system supports it.
- shutdown(String, ClassLoader, boolean, boolean) - Method in interface org.apache.logging.log4j.spi.LoggerContextFactory
-
Shuts down the LoggerContext.
- shutdown(LoggerContext) - Static method in class org.apache.logging.log4j.LogManager
-
Shutdown the logging system if the logging system supports it.
- 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
-
A simple
LoggerContext
implementation. - SimpleLoggerContext() - Constructor for class org.apache.logging.log4j.simple.SimpleLoggerContext
-
Constructs a new initialized instance.
- SimpleLoggerContextFactory - Class in org.apache.logging.log4j.simple
-
Simple and stateless
LoggerContextFactory
. - 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(CharSequence) - Constructor for class org.apache.logging.log4j.message.SimpleMessage
-
Constructor that includes the message.
- SimpleMessage(String) - Constructor for class org.apache.logging.log4j.message.SimpleMessage
-
Constructor that includes the message.
- SimpleMessageFactory - Class in org.apache.logging.log4j.message
- SimpleMessageFactory() - Constructor for class org.apache.logging.log4j.message.SimpleMessageFactory
- size() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- size() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- size() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- size() - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Returns the number of key-value pairs in this collection.
- size() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- SortedArrayStringMap - Class in org.apache.logging.log4j.util
-
Consider this class private. Array-based implementation of the
ReadOnlyStringMap
interface. - SortedArrayStringMap() - Constructor for class org.apache.logging.log4j.util.SortedArrayStringMap
- SortedArrayStringMap(int) - Constructor for class org.apache.logging.log4j.util.SortedArrayStringMap
- SortedArrayStringMap(Map<String, ?>) - Constructor for class org.apache.logging.log4j.util.SortedArrayStringMap
- SortedArrayStringMap(ReadOnlyStringMap) - Constructor for class org.apache.logging.log4j.util.SortedArrayStringMap
- SPACE - Static variable in class org.apache.logging.log4j.util.Chars
-
Space.
- splitList(String) - Static method in class org.apache.logging.log4j.util.Strings
- StackLocator - Class in org.apache.logging.log4j.util
-
Consider this class private. Provides various methods to determine the caller class.
- StackLocatorUtil - Class in org.apache.logging.log4j.util
-
Consider this class private. Provides various methods to determine the caller class.
- StandardLevel - Enum in org.apache.logging.log4j.spi
-
Standard Logging Levels as an enumeration for use internally.
- start() - Method in class org.apache.logging.log4j.util.Timer
-
Start the timer.
- start(BundleContext) - Method in class org.apache.logging.log4j.util.Activator
- start(BundleContext) - Method in class org.apache.logging.log4j.util.ProviderActivator
- Started - Enum constant in enum org.apache.logging.log4j.util.Timer.Status
- startOrResume() - Method in class org.apache.logging.log4j.util.Timer
- STATUS_DATE_FORMAT - Static variable in class org.apache.logging.log4j.status.StatusLogger
-
The name of the system property that can be configured with a
DateTimeFormatter
pattern that will be used while formatting the createdStatusData
. - StatusConsoleListener - Class in org.apache.logging.log4j.status
-
A
StatusListener
that writes to the console. - StatusConsoleListener(Level) - Constructor for class org.apache.logging.log4j.status.StatusConsoleListener
-
Constructs a
StatusConsoleListener
instance writing toSystem.out
using the supplied level. - StatusConsoleListener(Level, PrintStream) - Constructor for class org.apache.logging.log4j.status.StatusConsoleListener
-
Constructs a
StatusConsoleListener
instance using the supplied level and stream. - StatusData - Class in org.apache.logging.log4j.status
-
The Status data.
- StatusData(StackTraceElement, Level, Message, Throwable, String) - Constructor for class org.apache.logging.log4j.status.StatusData
-
Constructs the instance using given properties.
- 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
-
Records events that occur in the logging system.
- StatusLogger(String, MessageFactory, StatusLogger.Config, StatusConsoleListener) - Constructor for class org.apache.logging.log4j.status.StatusLogger
-
Constructs an instance using given properties.
- StatusLogger.Config - Class in org.apache.logging.log4j.status
-
Holder for user-provided
StatusLogger
configurations. - stop() - Method in class org.apache.logging.log4j.util.Timer
-
Stop the timer.
- stop(BundleContext) - Method in class org.apache.logging.log4j.util.Activator
- stop(BundleContext) - Method in class org.apache.logging.log4j.util.ProviderActivator
- Stopped - Enum constant in enum org.apache.logging.log4j.util.Timer.Status
- StringBuilderFormattable - Interface in org.apache.logging.log4j.util
-
Objects that implement this interface can be converted to text, ideally without allocating temporary objects.
- StringBuilders - Class in org.apache.logging.log4j.util
-
Consider this class private.
- 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
-
Constructs a message.
- StringFormattedMessage(Locale, String, Object...) - Constructor for class org.apache.logging.log4j.message.StringFormattedMessage
-
Constructs a message.
- StringFormatterMessageFactory - Class in org.apache.logging.log4j.message
- StringFormatterMessageFactory() - Constructor for class org.apache.logging.log4j.message.StringFormatterMessageFactory
-
Constructs a message factory with default flow strings.
- StringMap - Interface in org.apache.logging.log4j.util
-
Exposes methods to add and remove key-value pairs to and from
ReadOnlyStringMap
. - StringMapMessage - Class in org.apache.logging.log4j.message
-
A
StringMapMessage
typed toString
-only values. - StringMapMessage() - Constructor for class org.apache.logging.log4j.message.StringMapMessage
-
Constructs a new instance.
- StringMapMessage(int) - Constructor for class org.apache.logging.log4j.message.StringMapMessage
-
Constructs a new instance.
- StringMapMessage(Map<String, String>) - Constructor for class org.apache.logging.log4j.message.StringMapMessage
-
Constructs a new instance based on an existing Map.
- Strings - Class in org.apache.logging.log4j.util
-
Consider this class private.
- StructuredDataCollectionMessage - Class in org.apache.logging.log4j.message
-
A collection of StructuredDataMessages.
- StructuredDataCollectionMessage(List<StructuredDataMessage>) - Constructor for class org.apache.logging.log4j.message.StructuredDataCollectionMessage
- StructuredDataId - Class in org.apache.logging.log4j.message
-
The StructuredData identifier.
- StructuredDataId(String) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
-
Creates a StructuredDataId based on the name.
- StructuredDataId(String, int) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
-
Creates a StructuredDataId based on the name.
- StructuredDataId(String, int, String[], String[]) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
-
Deprecated.Use
StructuredDataId(String, String, String[], String[])
instead. - StructuredDataId(String, int, String[], String[], int) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
-
Deprecated.
- StructuredDataId(String, String[], String[]) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
- StructuredDataId(String, String[], String[], int) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
-
A Constructor that helps conformance to RFC 5424.
- StructuredDataId(String, String, String[], String[]) - Constructor for class org.apache.logging.log4j.message.StructuredDataId
-
A Constructor that helps conformance to RFC 5424.
- StructuredDataId(String, String, String[], String[], int) - 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() - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Basic constructor.
- StructuredDataMessage(String, String, String) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using an ID (max 32 characters), message, and type (max 32 characters).
- StructuredDataMessage(String, String, String, int) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using an ID (user specified max characters), message, and type (user specified maximum number of characters).
- StructuredDataMessage(String, String, String, Map<String, String>) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using an ID (max 32 characters), message, type (max 32 characters), and an initial map of structured data to include.
- StructuredDataMessage(String, String, String, Map<String, String>, int) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using an (user specified max characters), message, and type (user specified maximum number of characters, and an initial map of structured data to include.
- StructuredDataMessage(StructuredDataId, String, String) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using a StructuredDataId, message, and type (max 32 characters).
- StructuredDataMessage(StructuredDataId, String, String, int) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using a StructuredDataId, message, and type (max 32 characters).
- StructuredDataMessage(StructuredDataId, String, String, Map<String, String>) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using a StructuredDataId, message, type (max 32 characters), and an initial map of structured data to include.
- StructuredDataMessage(StructuredDataId, String, String, Map<String, String>, int) - Constructor for class org.apache.logging.log4j.message.StructuredDataMessage
-
Creates a StructuredDataMessage using a StructuredDataId, message, type (max 32 characters), and an initial map of structured data to include.
- StructuredDataMessage.Format - Enum in org.apache.logging.log4j.message
-
Supported formats.
- subSequence(int, int) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
- subSequence(int, int) - Method in class org.apache.logging.log4j.message.SimpleMessage
- Supplier<T> - Interface in org.apache.logging.log4j.util
-
Consider this class private. Classes implementing this interface know how to supply a value.
- swapParameters(Object[]) - Method in interface org.apache.logging.log4j.message.ReusableMessage
-
Returns the parameter array that was used to initialize this reusable message and replaces it with the specified array.
- swapParameters(Object[]) - Method in class org.apache.logging.log4j.message.ReusableObjectMessage
-
This message has exactly one parameter (the object), so returns it as the first parameter in the array.
- swapParameters(Object[]) - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- swapParameters(Object[]) - Method in class org.apache.logging.log4j.message.ReusableSimpleMessage
-
This message does not have any parameters, so this method returns the specified array.
- SYSTEM_PREFIX - Static variable in class org.apache.logging.log4j.simple.SimpleLoggerContext
-
All system properties used by
SimpleLog
start with this - SystemPropertiesPropertySource - Class in org.apache.logging.log4j.util
-
PropertySource backed by the current system properties.
- SystemPropertiesPropertySource() - Constructor for class org.apache.logging.log4j.util.SystemPropertiesPropertySource
T
- TAB - Static variable in class org.apache.logging.log4j.util.Chars
-
Tab.
- Terminable - Interface in org.apache.logging.log4j.spi
-
Interface to be implemented by LoggerContext's that provide a shutdown method.
- terminate() - Method in interface org.apache.logging.log4j.spi.Terminable
-
Requests that the logging implementation shut down.
- THREAD_CONTEXT_MAP - Static variable in class org.apache.logging.log4j.spi.Provider
-
Deprecated.since 2.24.0
- 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
-
Service provider interface to implement custom MDC behavior for
ThreadContext
. - ThreadContextMap2 - Interface in org.apache.logging.log4j.spi
-
Extension service provider interface to implement additional custom MDC behavior for
ThreadContext
. - ThreadContextMapFactory - Class in org.apache.logging.log4j.spi
-
Creates the ThreadContextMap instance used by the ThreadContext.
- ThreadContextStack - Interface in org.apache.logging.log4j.spi
-
Service provider interface to implement custom NDC behavior for
ThreadContext
. - 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.
- ThreadDumpMessage.ThreadInfoFactory - Interface in org.apache.logging.log4j.message
-
Factory to create Thread information.
- ThreadInformation - Interface in org.apache.logging.log4j.message
-
Interface used to print basic or extended thread information.
- throwing(String, Level, T) - Method in class org.apache.logging.log4j.spi.AbstractLogger
-
Logs a Throwable to be thrown.
- throwing(Level, T) - Method in interface org.apache.logging.log4j.Logger
-
Logs a
Throwable
to be thrown. - throwing(Level, T) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- throwing(T) - Method in interface org.apache.logging.log4j.Logger
- throwing(T) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- THROWING_MARKER - Static variable in class org.apache.logging.log4j.spi.AbstractLogger
-
Marker for throwing exceptions.
- throwingMsg(Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- TIME_QUALITY - Static variable in class org.apache.logging.log4j.message.StructuredDataId
-
RFC 5424 Time Quality.
- Timer - Class in org.apache.logging.log4j.util
-
Primarily used in unit tests, but can be used to track elapsed time for a request or portion of any other operation so long as all the timer methods are called on the same thread in which it was started.
- Timer(String) - Constructor for class org.apache.logging.log4j.util.Timer
-
Constructor.
- Timer(String, int) - Constructor for class org.apache.logging.log4j.util.Timer
-
Constructor.
- Timer.Status - Enum in org.apache.logging.log4j.util
- 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() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- toArray(T[]) - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- toArray(T[]) - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- tokenize(CharSequence) - Static method in class org.apache.logging.log4j.util.PropertySource.Util
-
Converts a property name string into a list of tokens.
- toKey(String) - Method in class org.apache.logging.log4j.message.MapMessage
-
Allows subclasses to change a candidate key to an actual key.
- toLevel(String) - Static method in class org.apache.logging.log4j.Level
-
Converts the string passed as argument to a level.
- toLevel(String, Level) - Static method in class org.apache.logging.log4j.Level
-
Converts the string passed as argument to a level.
- toMap() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextMap
- toMap() - Method in interface org.apache.logging.log4j.util.ReadOnlyStringMap
-
Returns a non-
null
mutableMap<String, String>
containing a snapshot of this data structure. - toMap() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- toRootLowerCase(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Shorthand for
str.toLowerCase(Locale.ROOT);
- toRootUpperCase(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Shorthand for
str.toUpperCase(Locale.ROOT);
- toString() - Method in class org.apache.logging.log4j.Level
- toString() - Method in class org.apache.logging.log4j.MarkerManager.Log4jMarker
- toString() - Method in class org.apache.logging.log4j.message.FormattedMessage
- toString() - Method in class org.apache.logging.log4j.message.LocalizedMessage
- 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.ObjectArrayMessage
- 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.ReusableObjectMessage
- toString() - Method in class org.apache.logging.log4j.message.ReusableParameterizedMessage
- 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.DefaultThreadContextMap
- toString() - Method in class org.apache.logging.log4j.spi.DefaultThreadContextStack
- toString() - Method in class org.apache.logging.log4j.spi.MutableThreadContextStack
- toString() - Method in class org.apache.logging.log4j.spi.Provider
- toString() - Method in class org.apache.logging.log4j.status.StatusData
- toString() - Method in class org.apache.logging.log4j.util.SortedArrayStringMap
- toString() - Method in class org.apache.logging.log4j.util.Timer
-
Returns the String representation of the timer based upon its current state
- trace(CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
TRACE
level. - trace(CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
TRACE
level. - trace(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
TRACE
level. - trace(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
TRACE
level. - trace(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
TRACE
level. - trace(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
TRACE
level. - trace(Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
TRACE
level. - trace(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
TRACE
level. - trace(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
TRACE
level. - trace(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at trace level.
- trace(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
TRACE
level. - trace(Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
TRACE
level with the specified Marker. - trace(Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
TRACE
level with the specified Marker. - trace(Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
TRACE
level. - trace(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
TRACE
level. - trace(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
TRACE
level. - trace(MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
TRACE
level. - trace(Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- trace(Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- trace(Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- TRACE - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
A fine-grained debug message, typically capturing the flow through the application.
- TRACE - Static variable in class org.apache.logging.log4j.Level
-
A fine-grained debug message, typically capturing the flow through the application.
- traceEntry() - Method in interface org.apache.logging.log4j.Logger
-
Logs entry to a method.
- traceEntry() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceEntry(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs entry to a method along with its parameters.
- traceEntry(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceEntry(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs entry to a method along with its parameters.
- traceEntry(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceEntry(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs entry to a method using a Message to describe the parameters.
- traceEntry(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceEntry(Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs entry to a method along with its parameters.
- traceEntry(Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceExit() - Method in interface org.apache.logging.log4j.Logger
-
Logs exit from a method.
- traceExit() - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceExit(String, R) - Method in interface org.apache.logging.log4j.Logger
-
Logs exiting from a method with the result.
- traceExit(String, R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceExit(EntryMessage) - Method in interface org.apache.logging.log4j.Logger
-
Logs exiting from a method with no result.
- traceExit(EntryMessage) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceExit(EntryMessage, R) - Method in interface org.apache.logging.log4j.Logger
-
Logs exiting from a method with the result.
- traceExit(EntryMessage, R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceExit(Message, R) - Method in interface org.apache.logging.log4j.Logger
-
Logs exiting from a method with the result.
- traceExit(Message, R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- traceExit(R) - Method in interface org.apache.logging.log4j.Logger
-
Logs exiting from a method with the result.
- traceExit(R) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- TriConsumer<K,
V, S> - Interface in org.apache.logging.log4j.util -
An operation that accepts three input arguments and returns no result.
- 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.
- trimToMaxSize(StringBuilder, int) - Static method in class org.apache.logging.log4j.util.StringBuilders
-
Ensures that the char[] array of the specified StringBuilder does not exceed the specified number of characters.
- trimToNull(String) - Static method in class org.apache.logging.log4j.util.Strings
-
Removes control characters (char <= 32) from both ends of this String returning
null
if the String is empty ("") after the trim or if it isnull
.
U
- Unbox - Class in org.apache.logging.log4j.util
-
Utility for preventing primitive parameter values from being auto-boxed.
- updateListenerLevel(Level) - Method in class org.apache.logging.log4j.status.StatusLogger
-
Deprecated.Instead use the
setLevel(Level)
method on the fallback listener returned byStatusLogger.getFallbackListener()
.
V
- validate(String, boolean) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, boolean) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, byte) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, byte) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, char) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, char) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, double) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, double) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, float) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, float) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, int) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, int) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, long) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, long) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, short) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, short) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, Object) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, Object) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validate(String, String) - Method in class org.apache.logging.log4j.message.MapMessage
-
Default implementation does nothing.
- validate(String, String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- validateKey(String) - Method in class org.apache.logging.log4j.message.StructuredDataMessage
- value() - Method in interface org.apache.logging.log4j.util.Lazy
-
Returns the value held by this lazy.
- value() - Element in annotation type org.apache.logging.log4j.util.PerformanceSensitive
-
Description of why this is written the way it is.
- value(T) - Static method in interface org.apache.logging.log4j.util.Lazy
-
Creates a lazy value using the provided constant value.
- valueOf(Class<T>, String) - Static method in class org.apache.logging.log4j.Level
-
Returns the enum constant of the specified enum 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.
- valueOf(String) - Static method in class org.apache.logging.log4j.Level
-
Return the Level associated with the 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(String) - Static method in enum org.apache.logging.log4j.spi.StandardLevel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.logging.log4j.util.Timer.Status
-
Returns the enum constant of this type with the specified name.
- values() - Static method in class org.apache.logging.log4j.Level
-
Return an array of all the Levels that have been registered.
- 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.
- values() - Static method in enum org.apache.logging.log4j.spi.StandardLevel
-
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.util.Timer.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
WARN
level. - warn(CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
WARN
level. - warn(Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
WARN
level. - warn(String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
WARN
level. - warn(String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
WARN
level. - warn(String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, CharSequence) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message CharSequence with the
WARN
level. - warn(Marker, CharSequence) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, CharSequence, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Marker, CharSequence, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
WARN
level. - warn(Marker, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, Object, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Marker, Object, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message object with the
WARN
level. - warn(Marker, String) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at the
WARN
level. - warn(Marker, String, Object...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters at warn level.
- warn(Marker, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Marker, String, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, String, Supplier<?>...) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with parameters which are only to be constructed if the logging level is the
WARN
level. - warn(Marker, String, Supplier<?>...) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- 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, Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
WARN
level with the specified Marker. - warn(Marker, MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Marker, MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
WARN
level with the specified Marker. - warn(Marker, Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Marker, Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Marker, Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Message) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
WARN
level. - warn(Message) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Message, Throwable) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message with the specific Marker at the
WARN
level. - warn(Message, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(MessageSupplier) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
WARN
level. - warn(MessageSupplier) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(MessageSupplier, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(MessageSupplier, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Supplier<?>) - Method in interface org.apache.logging.log4j.Logger
-
Logs a message which is only to be constructed if the logging level is the
WARN
level. - warn(Supplier<?>) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- warn(Supplier<?>, Throwable) - Method in interface org.apache.logging.log4j.Logger
- warn(Supplier<?>, Throwable) - Method in class org.apache.logging.log4j.spi.AbstractLogger
- WARN - Enum constant in enum org.apache.logging.log4j.spi.StandardLevel
-
An event that might possible lead to an error.
- WARN - Static variable in class org.apache.logging.log4j.Level
-
An event that might possible lead to an error.
- weak(T) - Static method in interface org.apache.logging.log4j.util.Lazy
-
Creates a lazy value using a weak reference to the provided value.
- WeakMapFactory() - Constructor for class org.apache.logging.log4j.spi.LoggerRegistry.WeakMapFactory
-
Deprecated.
- with(String, boolean) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, byte) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, char) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, double) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, float) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, int) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, long) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, short) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, Object) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map.
- with(String, String) - Method in class org.apache.logging.log4j.message.MapMessage
-
Adds an item to the data Map in fluent style.
- withLocation() - Method in interface org.apache.logging.log4j.LogBuilder
-
An implementation will calculate the caller's stack frame and include it in the log event.
- withLocation(StackTraceElement) - Method in interface org.apache.logging.log4j.LogBuilder
-
Adds the specified stack trace element to the log event.
- withMarker(Marker) - Method in interface org.apache.logging.log4j.LogBuilder
-
Includes a Marker in the log event.
- withThrowable(Throwable) - Method in interface org.apache.logging.log4j.LogBuilder
-
Includes a Throwable in the log event.
- writeReplace() - Method in class org.apache.logging.log4j.message.ThreadDumpMessage
-
Creates a ThreadDumpMessageProxy that can be serialized.
X
- XML - Enum constant in enum org.apache.logging.log4j.message.MapMessage.MapFormat
-
The map should be formatted as XML.
- XML - Enum constant in enum org.apache.logging.log4j.message.StructuredDataMessage.Format
-
The map should be formatted as XML.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
2.25.0
, planned to be removed! Instead, inLoggerContext.getLogger(String, MessageFactory)
implementations, namespace loggers with message factories. If your implementation usesLoggerRegistry
, you are already covered.