E - this event not used in the trigger logicpublic class StartupTriggeringPolicy<E> extends ch.qos.logback.core.rolling.TriggeringPolicyBase<E>
TriggeringPolicyBase that triggered on startup when the previous file is not empty.| Modifier and Type | Field and Description |
|---|---|
private boolean |
isTriggeringEvent |
| Constructor and Description |
|---|
StartupTriggeringPolicy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isTriggeringEvent(File activeFile,
E event)
Return 'true' when the application launched.
|
isStarted, start, stopprivate boolean isTriggeringEvent
public StartupTriggeringPolicy()
public boolean isTriggeringEvent(File activeFile, E event)
activeFile - is used for the decisionevent - is not usedCopyright © 2023. All rights reserved.