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 TypeMethodDescriptionvoidLogs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voidLogs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voidLogs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voidvoidLogs a message which is only to be constructed if the logging level is theDEBUGlevel.voidvoidLogs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voidLogs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voidLogs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voidvoidLogs a message which is only to be constructed if the logging level is theERRORlevel.voidvoidLogs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidLogs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidLogs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidvoidLogs a message which is only to be constructed if the logging level is theFATALlevel.voidvoidLogs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidLogs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidLogs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidvoidLogs a message which is only to be constructed if the logging level is theINFOlevel.voiddefault voidCauses all the data collected to be logged along with the message and parameters.default voidCauses all the data collected to be logged along with the message.voidLogs a message with parameters which are only to be constructed if the logging level is the specified level.voidLogs a message with parameters which are only to be constructed if the logging level is the specified level.voidLogs a message (only to be constructed if the logging level is the specified level) with the specified Marker.voidLogs a message (only to be constructed if the logging level is the specified level) with the specified Marker and including the stack log of theThrowablethrowablepassed as parameter.voidLogs a message which is only to be constructed if the logging level is the specified level.voidLogs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowablethrowablepassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidLogs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidLogs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidvoidLogs a message which is only to be constructed if the logging level is theTRACElevel.voidLogger.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.voidLogs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidLogs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidLogs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidvoidLogs a message which is only to be constructed if the logging level is theWARNlevel.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 TypeClassDescriptionclassAsyncLogger 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.voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidAwaitCompletionReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidAwaitUnconditionallyReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidDefaultReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidLocationAwareReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) Logs an event.voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, StackTraceElement location, Marker marker, Level level, Message data, Throwable t) voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) voidLockingReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, LogEvent event) voidReliabilityStrategy.log(Supplier<LoggerConfig> reconfigured, String loggerName, String fqcn, Marker marker, Level level, Message data, Throwable t) Logs an event.voidReliabilityStrategy.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 TypeMethodDescriptionvoidvoidvoidvoidvoidvoidprotected EntryMessageLogs entry to a method with location information.protected EntryMessagevoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidAbstractLogger.logIfEnabled(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) voidAbstractLogger.logIfEnabled(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) voidExtendedLogger.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.voidExtendedLogger.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 voidAbstractLogger.logMessage(String fqcn, Level level, Marker marker, String message, Supplier<?>... paramSuppliers) protected voidAbstractLogger.logMessage(String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, Throwable throwable) voidvoidvoidvoidvoidvoidAbstractLogger.traceEntry(String format, Supplier<?>... paramSuppliers) AbstractLogger.traceEntry(Supplier<?>... paramSuppliers) voidvoidvoidvoidvoidvoid -
Uses of Supplier in org.apache.logging.log4j.util
Methods in org.apache.logging.log4j.util with parameters of type SupplierModifier and TypeMethodDescriptionstatic ObjectReturns 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 MessageLambdaUtil.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.