类 DeferredLogs
java.lang.Object
org.springframework.boot.logging.DeferredLogs
- 所有已实现的接口:
DeferredLogFactory
A
DeferredLogFactory
implementation that manages a collection
DeferredLog
instances.- 从以下版本开始:
- 2.4.0
- 作者:
- Phillip Webb
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Create a newDeferredLog
for the given destination.Create a newDeferredLog
for the given destination.Create a newDeferredLog
for the given destination.void
Switch over all deferred logs to their supplied destination.
-
构造器详细资料
-
DeferredLogs
public DeferredLogs()
-
-
方法详细资料
-
getLog
Create a newDeferredLog
for the given destination.- 指定者:
getLog
在接口中DeferredLogFactory
- 参数:
destination
- the ultimate log destination- 返回:
- a deferred log instance that will switch to the destination when appropriate.
-
getLog
Create a newDeferredLog
for the given destination.- 指定者:
getLog
在接口中DeferredLogFactory
- 参数:
destination
- the ultimate log destination- 返回:
- a deferred log instance that will switch to the destination when appropriate.
-
getLog
Create a newDeferredLog
for the given destination.- 指定者:
getLog
在接口中DeferredLogFactory
- 参数:
destination
- the ultimate log destination- 返回:
- a deferred log instance that will switch to the destination when appropriate.
-
switchOverAll
public void switchOverAll()Switch over all deferred logs to their supplied destination.
-