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