Package org.springframework.boot.logging
Interface DeferredLogFactory
- All Known Implementing Classes:
DeferredLogs
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Factory that can be used to create multiple
DeferredLog
instances that will
switch over when appropriate.- Since:
- 2.4.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault Log
Create a newDeferredLog
for the given destination.Create a newDeferredLog
for the given destination.default Log
Create a newDeferredLog
for the given destination.
-
Method Details
-
getLog
Create a newDeferredLog
for the given destination.- Parameters:
destination
- the ultimate log destination- Returns:
- a deferred log instance that will switch to the destination when appropriate.
-
getLog
Create a newDeferredLog
for the given destination.- Parameters:
destination
- the ultimate log destination- Returns:
- a deferred log instance that will switch to the destination when appropriate.
-
getLog
Create a newDeferredLog
for the given destination.- Parameters:
destination
- the ultimate log destination- Returns:
- a deferred log instance that will switch to the destination when appropriate.
-