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 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. -
-
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<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel with the specified Marker.voidLogger. debug(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theDEBUGlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidLogger. debug(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theDEBUGlevel.voidLogger. debug(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theDEBUGlevel) including the stack trace of theThrowabletpassed 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<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel with the specified Marker.voidLogger. error(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theERRORlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidLogger. error(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theERRORlevel.voidLogger. error(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theERRORlevel) including the stack trace of theThrowabletpassed 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<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel with the specified Marker.voidLogger. fatal(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theFATALlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidLogger. fatal(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theFATALlevel.voidLogger. fatal(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theFATALlevel) including the stack trace of theThrowabletpassed 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<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel with the specified Marker.voidLogger. info(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theINFOlevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidLogger. info(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theINFOlevel.voidLogger. info(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theINFOlevel) including the stack trace of theThrowabletpassed as parameter.default voidLogBuilder. log(java.lang.String message, Supplier<?>... params)default voidLogBuilder. log(Supplier<Message> messageSupplier)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<?> msgSupplier)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<?> msgSupplier, java.lang.Throwable t)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 theThrowabletpassed as parameter.voidLogger. log(Level level, Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is the specified level.voidLogger. log(Level level, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is the specified level) including the stack log of theThrowabletpassed as parameter.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<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel with the specified Marker.voidLogger. trace(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theTRACElevel) with the specified Marker and including the stack trace of theThrowabletpassed as parameter.voidLogger. trace(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theTRACElevel.voidLogger. trace(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theTRACElevel) including the stack trace of theThrowabletpassed 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<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel with the specified Marker.voidLogger. warn(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theWARNlevel) with the specified Marker and including the stack warn of theThrowabletpassed as parameter.voidLogger. warn(Supplier<?> msgSupplier)Logs a message which is only to be constructed if the logging level is theWARNlevel.voidLogger. warn(Supplier<?> msgSupplier, java.lang.Throwable t)Logs a message (only to be constructed if the logging level is theWARNlevel) including the stack warn of theThrowabletpassed 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) -
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<?> msgSupplier)voidAbstractLogger. debug(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. debug(Supplier<?> msgSupplier)voidAbstractLogger. debug(Supplier<?> msgSupplier, java.lang.Throwable t)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<?> msgSupplier)voidAbstractLogger. error(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. error(Supplier<?> msgSupplier)voidAbstractLogger. error(Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. fatal(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. fatal(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. fatal(Marker marker, Supplier<?> msgSupplier)voidAbstractLogger. fatal(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. fatal(Supplier<?> msgSupplier)voidAbstractLogger. fatal(Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. info(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. info(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. info(Marker marker, Supplier<?> msgSupplier)voidAbstractLogger. info(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. info(Supplier<?> msgSupplier)voidAbstractLogger. info(Supplier<?> msgSupplier, java.lang.Throwable t)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<?> msgSupplier)voidAbstractLogger. log(Level level, Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. log(Level level, Supplier<?> msgSupplier)voidAbstractLogger. log(Level level, Supplier<?> msgSupplier, java.lang.Throwable t)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<?> msgSupplier, java.lang.Throwable t)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<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. trace(java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. trace(Marker marker, java.lang.String message, Supplier<?>... paramSuppliers)voidAbstractLogger. trace(Marker marker, Supplier<?> msgSupplier)voidAbstractLogger. trace(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. trace(Supplier<?> msgSupplier)voidAbstractLogger. trace(Supplier<?> msgSupplier, java.lang.Throwable t)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<?> msgSupplier)voidAbstractLogger. warn(Marker marker, Supplier<?> msgSupplier, java.lang.Throwable t)voidAbstractLogger. warn(Supplier<?> msgSupplier)voidAbstractLogger. warn(Supplier<?> msgSupplier, java.lang.Throwable t) -
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.
-