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 int
MAX_HEADER_COUNT
Deprecated.static int
TAIL_SIZE
Deprecated.
-
Constructor Summary
Constructors Constructor Description BasicStatusManager()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(Status newStatus)
Deprecated.Add a new status object.boolean
add(StatusListener listener)
Deprecated.This implementation does not allow duplicate installations of OnConsoleStatusListenervoid
clear()
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 StatusManagerint
getCount()
Deprecated.Return the number of status entries.int
getLevel()
Deprecated.void
remove(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:
add
in interfaceStatusManager
- Parameters:
newStatus
- the status message to add
-
getCopyOfStatusList
public java.util.List<Status> getCopyOfStatusList()
Deprecated.Description copied from interface:StatusManager
Obtain a copy of the status list maintained by this StatusManager.- Specified by:
getCopyOfStatusList
in interfaceStatusManager
- Returns:
-
clear
public void clear()
Deprecated.Description copied from interface:StatusManager
Clear the list of status messages.- Specified by:
clear
in interfaceStatusManager
-
getLevel
public int getLevel()
Deprecated.
-
getCount
public int getCount()
Deprecated.Description copied from interface:StatusManager
Return the number of status entries.- Specified by:
getCount
in interfaceStatusManager
- Returns:
-
add
public boolean add(StatusListener listener)
Deprecated.This implementation does not allow duplicate installations of OnConsoleStatusListener- Specified by:
add
in 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:
remove
in interfaceStatusManager
-
getCopyOfStatusListenerList
public java.util.List<StatusListener> getCopyOfStatusListenerList()
Deprecated.Description copied from interface:StatusManager
Obtain a copy of the status listener list maintained by this StatusManager- Specified by:
getCopyOfStatusListenerList
in interfaceStatusManager
- Returns:
-
-