Package org.apache.logging.log4j.util
Interface MessageSupplier
- 
 public interface MessageSupplierClasses implementing this interface know how to supplyMessages.This is a functional interface intended to support lambda expressions in log4j 2. Implementors are free to cache values or return a new or distinct value each time the supplier is invoked. DEPRECATED: this class should not normally be used outside a Java 8+ lambda syntax. Instead, Suppliershould be used as an anonymous class. Both this andSupplierwill be removed in 3.0.- Since:
- 2.4
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Messageget()Gets a Message.
 
- 
- 
- 
Method Detail- 
getMessage get() Gets a Message.- Returns:
- a Message
 
 
- 
 
-