@FunctionalInterface
public interface DeferredLogFactory
DeferredLog
instances that will
switch over when appropriate.DeferredLogs
Modifier and Type | Method and Description |
---|---|
default org.apache.commons.logging.Log |
getLog(java.lang.Class<?> destination)
Create a new
DeferredLog for the given destination. |
default org.apache.commons.logging.Log |
getLog(org.apache.commons.logging.Log destination)
Create a new
DeferredLog for the given destination. |
org.apache.commons.logging.Log |
getLog(java.util.function.Supplier<org.apache.commons.logging.Log> destination)
Create a new
DeferredLog for the given destination. |
default org.apache.commons.logging.Log getLog(java.lang.Class<?> destination)
DeferredLog
for the given destination.destination
- the ultimate log destinationdefault org.apache.commons.logging.Log getLog(org.apache.commons.logging.Log destination)
DeferredLog
for the given destination.destination
- the ultimate log destinationorg.apache.commons.logging.Log getLog(java.util.function.Supplier<org.apache.commons.logging.Log> destination)
DeferredLog
for the given destination.destination
- the ultimate log destination