Uses of Interface
org.apache.logging.log4j.util.Supplier
Packages that use Supplier
Package
Description
Public API for Log4j 2.
Implementation of Log4j 2.
Provides Asynchronous Logger classes and interfaces for low-latency logging.
Configuration of Log4j 2.
Log4j 2 helper classes.
This package should be considered private.
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 Supplier in org.apache.logging.log4j
Methods in org.apache.logging.log4j with parameters of type SupplierModifier and TypeMethodDescriptionvoid
Logs a message with parameters which are only to be constructed if the logging level is theDEBUG
level.void
Logs a message with parameters which are only to be constructed if the logging level is theDEBUG
level.void
Logs a message which is only to be constructed if the logging level is theDEBUG
level with the specified Marker.void
void
Logs a message which is only to be constructed if the logging level is theDEBUG
level.void
void
Logs a message with parameters which are only to be constructed if the logging level is theERROR
level.void
Logs a message with parameters which are only to be constructed if the logging level is theERROR
level.void
Logs a message which is only to be constructed if the logging level is theERROR
level with the specified Marker.void
void
Logs a message which is only to be constructed if the logging level is theERROR
level.void
void
Logs a message with parameters which are only to be constructed if the logging level is theFATAL
level.void
Logs a message with parameters which are only to be constructed if the logging level is theFATAL
level.void
Logs a message which is only to be constructed if the logging level is theFATAL
level with the specified Marker.void
void
Logs a message which is only to be constructed if the logging level is theFATAL
level.void
void
Logs a message with parameters which are only to be constructed if the logging level is theINFO
level.void
Logs a message with parameters which are only to be constructed if the logging level is theINFO
level.void
Logs a message which is only to be constructed if the logging level is theINFO
level with the specified Marker.void
void
Logs a message which is only to be constructed if the logging level is theINFO
level.void
default void
Causes all the data collected to be logged along with the message and parameters.default void
Causes all the data collected to be logged along with the message.void
Logs a message with parameters which are only to be constructed if the logging level is the specified level.void
Logs a message with parameters which are only to be constructed if the logging level is the specified level.void
Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.void
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 theThrowable
throwable
passed as parameter.void
Logs a message which is only to be constructed if the logging level is the specified level.void
Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowable
throwable
passed as parameter.void
Logs a message with parameters which are only to be constructed if the logging level is theTRACE
level.void
Logs a message with parameters which are only to be constructed if the logging level is theTRACE
level.void
Logs a message which is only to be constructed if the logging level is theTRACE
level with the specified Marker.void
void
Logs a message which is only to be constructed if the logging level is theTRACE
level.void
Logger.traceEntry
(String format, Supplier<?>... paramSuppliers) Logs entry to a method along with its parameters.Logger.traceEntry
(Supplier<?>... paramSuppliers) Logs entry to a method along with its parameters.void
Logs a message with parameters which are only to be constructed if the logging level is theWARN
level.void
Logs a message with parameters which are only to be constructed if the logging level is theWARN
level.void
Logs a message which is only to be constructed if the logging level is theWARN
level with the specified Marker.void
void
Logs a message which is only to be constructed if the logging level is theWARN
level.void
-
Uses of Supplier in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement Supplier -
Uses of Supplier in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement SupplierModifier and TypeClassDescriptionclass
AsyncLogger is a logger designed for high throughput and low latency logging. -
Uses of Supplier in org.apache.logging.log4j.core.config
Methods in org.apache.logging.log4j.core.config with parameters of type SupplierModifier and TypeMethodDescriptionAwaitCompletionReliabilityStrategy.getActiveLoggerConfig
(Supplier<LoggerConfig> next) AwaitUnconditionallyReliabilityStrategy.getActiveLoggerConfig
(Supplier<LoggerConfig> next) DefaultReliabilityStrategy.getActiveLoggerConfig
(Supplier<LoggerConfig> next) LockingReliabilityStrategy.getActiveLoggerConfig
(Supplier<LoggerConfig> next) ReliabilityStrategy.getActiveLoggerConfig
(Supplier<LoggerConfig> next) For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.void
AwaitCompletionReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) void
AwaitCompletionReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) void
AwaitCompletionReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, LogEvent event) void
AwaitUnconditionallyReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) void
AwaitUnconditionallyReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) void
AwaitUnconditionallyReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, LogEvent event) void
DefaultReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) void
DefaultReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) void
DefaultReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, LogEvent event) void
LocationAwareReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) Logs an event.void
LockingReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) void
LockingReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) void
LockingReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, LogEvent event) void
ReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) Logs an event.void
ReliabilityStrategy.log
(Supplier<LoggerConfig> reconfigured, LogEvent event) Logs an event. -
Uses of Supplier in org.apache.logging.log4j.core.util
Methods in org.apache.logging.log4j.core.util that return types with arguments of type Supplier -
Uses of Supplier in org.apache.logging.log4j.internal
Methods in org.apache.logging.log4j.internal with parameters of type Supplier -
Uses of Supplier in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi with parameters of type SupplierModifier and TypeMethodDescriptionvoid
void
void
void
void
void
protected EntryMessage
Logs entry to a method with location information.protected EntryMessage
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
AbstractLogger.logIfEnabled
(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) void
AbstractLogger.logIfEnabled
(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) void
ExtendedLogger.logIfEnabled
(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) Logs a message whose parameters are only to be constructed if the specified level is active.void
ExtendedLogger.logIfEnabled
(String fqcn, Level level, Marker marker, Supplier<?> msgSupplier, Throwable t) Logs a message which is only to be constructed if the specified level is active.protected void
AbstractLogger.logMessage
(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) protected void
AbstractLogger.logMessage
(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) void
void
void
void
void
void
AbstractLogger.traceEntry
(String format, Supplier<?>... paramSuppliers) AbstractLogger.traceEntry
(Supplier<?>... paramSuppliers) void
void
void
void
void
void
-
Uses of Supplier in org.apache.logging.log4j.util
Methods in org.apache.logging.log4j.util with parameters of type SupplierModifier and TypeMethodDescriptionstatic Object
Returns the result of evaluating the specified function.static Object[]
Converts an array of lambda expressions into an array of their evaluation results.PropertiesUtil.getBooleanProperty
(String[] prefixes, String key, Supplier<Boolean> supplier) Retrieves a property that may be prefixed by more than one string.PropertiesUtil.getDurationProperty
(String[] prefixes, String key, Supplier<Duration> supplier) Retrieves a property that may be prefixed by more than one string.PropertiesUtil.getIntegerProperty
(String[] prefixes, String key, Supplier<Integer> supplier) Retrieves a property that may be prefixed by more than one string.PropertiesUtil.getLongProperty
(String[] prefixes, String key, Supplier<Long> supplier) Retrieves a property that may be prefixed by more than one string.static Message
LambdaUtil.getMessage
(Supplier<?> supplier, MessageFactory messageFactory) Returns a Message, either the value supplied by the specified function, or a new Message created by the specified Factory.PropertiesUtil.getStringProperty
(String[] prefixes, String key, Supplier<String> supplier) Retrieves a property that may be prefixed by more than one string.