Uses of Interface
org.apache.logging.log4j.util.Supplier
-
Packages that use Supplier Package Description org.apache.logging.log4j Public API for Log4j 2.org.apache.logging.log4j.core Implementation of Log4j 2.org.apache.logging.log4j.core.async Provides Asynchronous Logger classes and interfaces for low-latency logging.org.apache.logging.log4j.core.config Configuration of Log4j 2.org.apache.logging.log4j.core.util Log4j 2 helper classes.org.apache.logging.log4j.internal This package should be considered private.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.util Internal utility classes for the Log4j 2 API.org.apache.logging.slf4j SLF4J support. -
-
Uses of Supplier in org.apache.logging.log4j
Methods in org.apache.logging.log4j with parameters of type Supplier Modifier and Type Method Description voidLogger. debug(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voidLogger. debug(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theDEBUGlevel.voidLogger. debug(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voidLogger. debug(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. debug(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel.voidLogger. debug(Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. error(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voidLogger. error(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theERRORlevel.voidLogger. error(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voidLogger. error(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. error(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel.voidLogger. error(Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. fatal(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidLogger. fatal(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theFATALlevel.voidLogger. fatal(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidLogger. fatal(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. fatal(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel.voidLogger. fatal(Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. info(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidLogger. info(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theINFOlevel.voidLogger. info(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidLogger. info(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. info(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel.voidLogger. info(Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowablethrowablepassed as parameter.default voidLogBuilder. log(java.lang.String message, Supplier<?>... params)Causes all the data collected to be logged along with the message and parameters.default voidLogBuilder. log(Supplier<Message> messageSupplier)Causes all the data collected to be logged along with the message.voidLogger. log(Level level, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is the specified level.voidLogger. log(Level level, Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is the specified level.voidLogger. log(Level level, Marker marker, Supplier<?> messageSupplier)Logs a message (only to be constructed if the logging level is the specified level) with the specified Marker.voidLogger. log(Level level, Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)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 theThrowablethrowablepassed as parameter.voidLogger. log(Level level, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is the specified level.voidLogger. log(Level level, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowablethrowablepassed as parameter.default MessageLogBuilder. logAndGet(Supplier<Message> messageSupplier)Causes all the data collected to be logged along with the message.voidLogger. trace(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidLogger. trace(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theTRACElevel.voidLogger. trace(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidLogger. trace(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowablethrowablepassed as parameter.voidLogger. trace(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel.voidLogger. trace(Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowablethrowablepassed as parameter.EntryMessageLogger. traceEntry(java.lang.String format, Supplier<?>... paramSuppliers)Logs entry to a method along with its parameters.EntryMessageLogger. traceEntry(Supplier<?>... paramSuppliers)Logs entry to a method along with its parameters.voidLogger. warn(java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidLogger. warn(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message with parameters which are only to be constructed if the logging level is theWARNlevel.voidLogger. warn(Marker marker, Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidLogger. warn(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowablethrowablepassed as parameter.voidLogger. warn(Supplier<?> messageSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel.voidLogger. warn(Supplier<?> messageSupplier, java.lang.Throwable throwable)Logs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowablethrowablepassed as parameter. -
Uses of Supplier in org.apache.logging.log4j.core
Classes in org.apache.logging.log4j.core that implement Supplier Modifier and Type Class Description classLoggerThe core implementation of theLoggerinterface. -
Uses of Supplier in org.apache.logging.log4j.core.async
Classes in org.apache.logging.log4j.core.async that implement Supplier Modifier and Type Class Description classAsyncLoggerAsyncLogger 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 Supplier Modifier and Type Method Description LoggerConfigAwaitCompletionReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigAwaitUnconditionallyReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigDefaultReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigLockingReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)LoggerConfigReliabilityStrategy. getActiveLoggerConfig(Supplier<LoggerConfig> next)For internal use by the ReliabilityStrategy; returns the LoggerConfig to use.voidAwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitCompletionReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidAwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidAwaitUnconditionallyReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidDefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidDefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidDefaultReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidLocationAwareReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)Logs an event.voidLockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, java.lang.StackTraceElement location, Marker marker, Level level, Message data, java.lang.Throwable t)voidLockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.Throwable t)voidLockingReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, LogEvent event)voidReliabilityStrategy. log(Supplier<LoggerConfig> reconfigured, java.lang.String loggerName, java.lang.String fqcn, Marker marker, Level level, Message data, java.lang.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 Modifier and Type Method Description private static java.util.Map<java.lang.String,Supplier<Clock>>ClockFactory. aliases() -
Uses of Supplier in org.apache.logging.log4j.internal
Methods in org.apache.logging.log4j.internal with parameters of type Supplier Modifier and Type Method Description voidDefaultLogBuilder. log(java.lang.String message, Supplier<?>... params)voidDefaultLogBuilder. log(Supplier<Message> messageSupplier)MessageDefaultLogBuilder. logAndGet(Supplier<Message> messageSupplier) -
Uses of Supplier in org.apache.logging.log4j.spi
Methods in org.apache.logging.log4j.spi with parameters of type Supplier Modifier and Type Method Description voidAbstractLogger. debug(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. debug(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. debug(Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. debug(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. debug(Supplier<?> messageSupplier)voidAbstractLogger. debug(Supplier<?> messageSupplier, java.lang.Throwable throwable)protected EntryMessageAbstractLogger. enter(java.lang.String fqcn, java.lang.String format, Supplier<?>... paramSuppliers)Logs entry to a method with location information.protected EntryMessageAbstractLogger. entryMsg(java.lang.String format, Supplier<?>... paramSuppliers)voidAbstractLogger. error(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. error(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. error(Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. error(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. error(Supplier<?> messageSupplier)voidAbstractLogger. error(Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. fatal(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. fatal(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. fatal(Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. fatal(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. fatal(Supplier<?> messageSupplier)voidAbstractLogger. fatal(Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. info(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. info(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. info(Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. info(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. info(Supplier<?> messageSupplier)voidAbstractLogger. info(Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. log(Level level, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. log(Level level, Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. log(Level level, Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. log(Level level, Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. log(Level level, Supplier<?> messageSupplier)voidAbstractLogger. log(Level level, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. logIfEnabled(java.lang.String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidExtendedLogger. logIfEnabled(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)Logs a message whose parameters are only to be constructed if the specified level is active.voidExtendedLogger. logIfEnabled(java.lang.String fqcn, Level level, Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message which is only to be constructed if the specified level is active.protected voidAbstractLogger. logMessage(java.lang.String fqcn, Level level, Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)protected voidAbstractLogger. logMessage(java.lang.String fqcn, Level level, Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. trace(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. trace(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. trace(Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. trace(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. trace(Supplier<?> messageSupplier)voidAbstractLogger. trace(Supplier<?> messageSupplier, java.lang.Throwable throwable)EntryMessageAbstractLogger. traceEntry(java.lang.String format, Supplier<?>... paramSuppliers)EntryMessageAbstractLogger. traceEntry(Supplier<?>... paramSuppliers)voidAbstractLogger. warn(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. warn(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. warn(Marker marker, Supplier<?> messageSupplier)voidAbstractLogger. warn(Marker marker, Supplier<?> messageSupplier, java.lang.Throwable throwable)voidAbstractLogger. warn(Supplier<?> messageSupplier)voidAbstractLogger. warn(Supplier<?> messageSupplier, java.lang.Throwable throwable) -
Uses of Supplier in org.apache.logging.log4j.util
Methods in org.apache.logging.log4j.util with parameters of type Supplier Modifier and Type Method Description static java.lang.ObjectLambdaUtil. get(Supplier<?> supplier)Returns the result of evaluating the specified function.static java.lang.Object[]LambdaUtil. getAll(Supplier<?>... suppliers)Converts an array of lambda expressions into an array of their evaluation results.java.lang.BooleanPropertiesUtil. getBooleanProperty(java.lang.String[] prefixes, java.lang.String key, Supplier<java.lang.Boolean> supplier)Retrieves a property that may be prefixed by more than one string.java.time.DurationPropertiesUtil. getDurationProperty(java.lang.String[] prefixes, java.lang.String key, Supplier<java.time.Duration> supplier)Retrieves a property that may be prefixed by more than one string.java.lang.IntegerPropertiesUtil. getIntegerProperty(java.lang.String[] prefixes, java.lang.String key, Supplier<java.lang.Integer> supplier)Retrieves a property that may be prefixed by more than one string.java.lang.LongPropertiesUtil. getLongProperty(java.lang.String[] prefixes, java.lang.String key, Supplier<java.lang.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.java.lang.StringPropertiesUtil. getStringProperty(java.lang.String[] prefixes, java.lang.String key, Supplier<java.lang.String> supplier)Retrieves a property that may be prefixed by more than one string. -
Uses of Supplier in org.apache.logging.slf4j
Methods in org.apache.logging.slf4j with parameters of type Supplier Modifier and Type Method Description voidSLF4JLogBuilder. log(java.lang.String message, Supplier<?>... params)voidSLF4JLogBuilder. log(Supplier<Message> messageSupplier)MessageSLF4JLogBuilder. logAndGet(Supplier<Message> messageSupplier)
-