Uses of Interface
org.apache.logging.log4j.util.Supplier
Packages that use Supplier
Package
Description
Public API 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 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.default MessageCauses 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 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.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
Subinterfaces of Supplier in org.apache.logging.log4j.utilModifier and TypeInterfaceDescriptioninterfaceClasses implementing this interface know how to supplyMessages.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.