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 Object
implements StatusManager
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Deprecated.static final int
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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.Deprecated.Obtain a copy of the status list maintained by this StatusManager.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 Details
-
MAX_HEADER_COUNT
public static final int MAX_HEADER_COUNTDeprecated.- See Also:
-
TAIL_SIZE
public static final int TAIL_SIZEDeprecated.- See Also:
-
-
Constructor Details
-
BasicStatusManager
public BasicStatusManager()Deprecated.
-
-
Method Details
-
add
Deprecated.Add a new status object.- Specified by:
add
in interfaceStatusManager
- Parameters:
newStatus
- the status message to add
-
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
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
Deprecated.Description copied from interface:StatusManager
); Remove a status listener.- Specified by:
remove
in interfaceStatusManager
- Parameters:
listener
-
-
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:
-