Uses of Annotation Type
org.apache.logging.log4j.util.PerformanceSensitive
Packages that use PerformanceSensitive
Package
Description
Public API for Log4j 2.
Configuration of Log4j 2.
Log4j 2 Filter support.
Provides classes implementing format specifiers in conversion patterns.
Public Message Types used for Log4j 2.
Internal interfaces and classes to be used by authors of logging implementations or for internal use by
API classes.
Internal utility classes for the Log4j 2 API.
-
Uses of PerformanceSensitive in org.apache.logging.log4j
Methods in org.apache.logging.log4j with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionprivate static void
MarkerManager.Log4jMarker.addParentInfo
(StringBuilder sb, Marker... parents) private static boolean
MarkerManager.Log4jMarker.checkParent
(Marker parent, Marker marker) private static boolean
boolean
MarkerManager.Log4jMarker.isInstanceOf
(String markerName) boolean
MarkerManager.Log4jMarker.isInstanceOf
(Marker marker) -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.config
Classes in org.apache.logging.log4j.core.config with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclass
Data structure with similar semantics to CopyOnWriteArraySet, but giving direct access to the underlying array.Methods in org.apache.logging.log4j.core.config with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionprotected void
LoggerConfig.callAppenders
(LogEvent event) private boolean
AppenderControl.isFilteredByAppenderControl
(LogEvent event) private boolean
AppenderControl.isFilteredByLevel
(LogEvent event) private boolean
AppenderControl.isRecursiveCall()
void
LoggerConfig.log
(String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) Logs an event.void
LoggerConfig.log
(String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) Logs an event. -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.filter
Classes in org.apache.logging.log4j.core.filter with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionfinal class
Composes and invokes one or more filters.final class
This filter causes all logging events to be dropped.final class
Compares against a log level that is associated with a context value.final class
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final class
This filter returns theonMatch
result if the level in theLogEvent
is in the range of the configured min and max levels, otherwise it returnsonMismatch
value .class
A Filter that operates on a Map.final class
This filter returns the onMatch result if the marker in the LogEvent is the same as or has the configured marker as a parent.final class
This filter returns the onMatch result if there is no marker in the LogEvent.final class
This filter returns the onMatch result if the logging level in the event matches the specified logging level exactly.final class
Filter based on data in a StructuredDataMessage.class
Filter based on a value in the Thread Context Map (MDC).final class
This filter returns the onMatch result if the level in the LogEvent is the same or more specific than the configured level and the onMismatch value otherwise.final class
Filters events that fall within a specified time period in each day. -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.pattern
Classes in org.apache.logging.log4j.core.pattern with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionfinal class
Converts and formats the event's date in a StringBuilder.final class
Converter that encodes the output from a pattern using a specified format.final class
Formats the EndOfBatch.class
Equals pattern converter.final class
Equals ignore case pattern converter.final class
Equals pattern converter.final class
Formats a date by delegating toDatePatternConverter
.final class
Modifies the output of a pattern converter for a specified minimum and maximum width and alignment.final class
Highlight pattern converter.final class
Formats an integer.class
Returns the event's level in a StringBuilder.final class
Formats a line separator.final class
Formats a string literal.final class
Formats the Logger FQCN.final class
Formats a logger name.final class
Returns events' full marker string in a StringBuilder.final class
Appends an event's maker name to a StringBuilder.final class
Max length pattern converter.final class
Able to handle the contents of the LogEvent's MDC and either output the entire contents of the properties in a similar format to the java.util.Hashtable.toString(), or to output the value of a specific key within the property bundle when this pattern converter has the option set.class
Returns the event's rendered message in a StringBuilder.class
NameAbbreviator generates abbreviated logger and class names.class
Abstract base class for other pattern converters which can return only parts of their name.final class
Converts and formats the event's nanoTime in a StringBuilder.class
Returns the relative time in milliseconds since JVM Startup.final class
Equals pattern converter.final class
Formats the event sequence number.(package private) class
Formats a string literal without substitution.final class
Style pattern converter.final class
Formats the event thread ID.final class
Formats the event thread name.final class
Formats the event thread priority.final class
VariablesNotEmpty pattern converter.Methods in org.apache.logging.log4j.core.pattern with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionvoid
AbstractStyleNameConverter.format
(LogEvent event, StringBuilder toAppendTo) Formats an event into a string buffer.void
NdcPatternConverter.format
(LogEvent event, StringBuilder toAppendTo) -
Uses of PerformanceSensitive in org.apache.logging.log4j.core.time
Classes in org.apache.logging.log4j.core.time with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclass
An instantaneous point on the time line, used for high-precision log event timestamps. -
Uses of PerformanceSensitive in org.apache.logging.log4j.message
Classes in org.apache.logging.log4j.message with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclass
MapMessage<M extends MapMessage<M,
V>, V> Represents a Message that consists of a Map.interface
Allows message parameters to be iterated over without any allocation or memory copies.interface
Messages implementing this interface are reused between logging calls.final class
Implementation of theMessageFactory
interface that avoids allocating temporary objects where possible.class
Mutable Message wrapper around an Object message.class
Reusable parameterized message.class
Mutable Message wrapper around a String message.class
AStringMapMessage
typed toString
-only values. -
Uses of PerformanceSensitive in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionprivate StackTraceElement
AbstractLogger.getLocation
(String fqcn) private void
AbstractLogger.logMessageSafely
(String fqcn, Level level, Marker marker, Message message, Throwable throwable) private void
AbstractLogger.logMessageTrackRecursion
(String fqcn, Level level, Marker marker, Message message, Throwable throwable) private void
AbstractLogger.tryLogMessage
(String fqcn, StackTraceElement location, Level level, Marker marker, Message message, Throwable throwable) -
Uses of PerformanceSensitive in org.apache.logging.log4j.util
Classes in org.apache.logging.log4j.util with annotations of type PerformanceSensitiveModifier and TypeClassDescriptionclass
Utility for preventing primitive parameter values from being auto-boxed.Methods in org.apache.logging.log4j.util with annotations of type PerformanceSensitiveModifier and TypeMethodDescriptionstatic StringBuilder
Unbox.box
(boolean value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(byte value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(char value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(double value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(float value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(int value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(long value) Returns aStringBuilder
containing the text representation of the specified primitive value.static StringBuilder
Unbox.box
(short value) Returns aStringBuilder
containing the text representation of the specified primitive value.Class<?>
StackLocator.getCallerClass
(int depth) Gets the Class of the method that called this method at the location up the call stack by the given stack frame depth.Class<?>
StackLocator.getCallerClass
(Class<?> anchor) Class<?>
StackLocator.getCallerClass
(Class<?> sentinelClass, Predicate<Class<?>> callerPredicate) Class<?>
StackLocator.getCallerClass
(String fqcn, String pkg) static Class<?>
StackLocatorUtil.getCallerClass
(int depth) static Class<?>
StackLocatorUtil.getCallerClass
(Class<?> anchor) static Class<?>
StackLocatorUtil.getCallerClass
(Class<?> sentinelClass, Predicate<Class<?>> callerPredicate) Search for a calling class.static Class<?>
StackLocatorUtil.getCallerClass
(String fqcn) Equivalent toStackLocatorUtil.getCallerClass(String, String)
with an emptypkg
.static Class<?>
StackLocatorUtil.getCallerClass
(String fqcn, String pkg) Search for a calling class.static ClassLoader
StackLocatorUtil.getCallerClassLoader
(int depth) Gets the ClassLoader of the class that called this method at the location up the call stack by the given stack frame depth.StackLocator.getCurrentStackTrace()
StackLocatorUtil.getCurrentStackTrace()