Package ch.qos.logback.core
Class BasicStatusManager
- java.lang.Object
-
- ch.qos.logback.core.BasicStatusManager
-
- All Implemented Interfaces:
StatusManager
@Deprecated(since="2022-01-27") public class BasicStatusManager extends java.lang.Object implements StatusManager
Deprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_HEADER_COUNTDeprecated.static intTAIL_SIZEDeprecated.
-
Constructor Summary
Constructors Constructor Description BasicStatusManager()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidadd(Status newStatus)Deprecated.Add a new status object.booleanadd(StatusListener listener)Deprecated.This implementation does not allow duplicate installations of OnConsoleStatusListenervoidclear()Deprecated.Clear the list of status messages.java.util.List<Status>getCopyOfStatusList()Deprecated.Obtain a copy of the status list maintained by this StatusManager.java.util.List<StatusListener>getCopyOfStatusListenerList()Deprecated.Obtain a copy of the status listener list maintained by this StatusManagerintgetCount()Deprecated.Return the number of status entries.intgetLevel()Deprecated.voidremove(StatusListener listener)Deprecated.); Remove a status listener.
-
-
-
Field Detail
-
MAX_HEADER_COUNT
public static final int MAX_HEADER_COUNT
Deprecated.- See Also:
- Constant Field Values
-
TAIL_SIZE
public static final int TAIL_SIZE
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
add
public void add(Status newStatus)
Deprecated.Add a new status object.- Specified by:
addin interfaceStatusManager- Parameters:
newStatus- the status message to add
-
getCopyOfStatusList
public java.util.List<Status> getCopyOfStatusList()
Deprecated.Description copied from interface:StatusManagerObtain a copy of the status list maintained by this StatusManager.- Specified by:
getCopyOfStatusListin interfaceStatusManager- Returns:
-
clear
public void clear()
Deprecated.Description copied from interface:StatusManagerClear the list of status messages.- Specified by:
clearin interfaceStatusManager
-
getLevel
public int getLevel()
Deprecated.
-
getCount
public int getCount()
Deprecated.Description copied from interface:StatusManagerReturn the number of status entries.- Specified by:
getCountin interfaceStatusManager- Returns:
-
add
public boolean add(StatusListener listener)
Deprecated.This implementation does not allow duplicate installations of OnConsoleStatusListener- Specified by:
addin interfaceStatusManager- Parameters:
listener-- Returns:
- true if actually added, false if skipped
-
remove
public void remove(StatusListener listener)
Deprecated.Description copied from interface:StatusManager); Remove a status listener.- Specified by:
removein interfaceStatusManager
-
getCopyOfStatusListenerList
public java.util.List<StatusListener> getCopyOfStatusListenerList()
Deprecated.Description copied from interface:StatusManagerObtain a copy of the status listener list maintained by this StatusManager- Specified by:
getCopyOfStatusListenerListin interfaceStatusManager- Returns:
-
-