Package ch.qos.logback.core.status
Class StatusUtil
java.lang.Object
ch.qos.logback.core.status.StatusUtil
Deprecated.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.booleancontainsException(Class<?> exceptionType) Deprecated.booleancontainsMatch(int level, String regex) Deprecated.booleancontainsMatch(long threshold, int level, String regex) Deprecated.booleancontainsMatch(String regex) Deprecated.static booleancontextHasStatusListener(Context context) Deprecated.Returns true if the StatusManager associated with the context passed as parameter has one or more StatusListener instances registered.filterStatusListByTimeThreshold(List<Status> rawList, long threshold) Deprecated.intgetHighestLevel(long threshold) Deprecated.booleanhasXMLParsingErrors(long threshold) Deprecated.booleanisErrorFree(long threshold) Deprecated.booleanisWarningOrErrorFree(long threshold) Deprecated.intmatchCount(String regex) Deprecated.booleannoXMLParsingErrorsOccurred(long threshold) Deprecated.longDeprecated.Return the time of last reset.
-
Constructor Details
-
StatusUtil
Deprecated. -
StatusUtil
Deprecated.
-
-
Method Details
-
contextHasStatusListener
Deprecated.Returns true if the StatusManager associated with the context passed as parameter has one or more StatusListener instances registered. Returns false otherwise.- Parameters:
context-- Returns:
- true if one or more StatusListeners registered, false otherwise
- Since:
- 1.0.8
-
filterStatusListByTimeThreshold
Deprecated. -
addStatus
Deprecated. -
addInfo
Deprecated. -
addWarn
Deprecated. -
addError
Deprecated. -
hasXMLParsingErrors
public boolean hasXMLParsingErrors(long threshold) Deprecated. -
noXMLParsingErrorsOccurred
public boolean noXMLParsingErrorsOccurred(long threshold) Deprecated. -
getHighestLevel
public int getHighestLevel(long threshold) Deprecated. -
isErrorFree
public boolean isErrorFree(long threshold) Deprecated. -
isWarningOrErrorFree
public boolean isWarningOrErrorFree(long threshold) Deprecated. -
containsMatch
Deprecated. -
containsMatch
Deprecated. -
containsMatch
Deprecated. -
matchCount
Deprecated. -
containsException
Deprecated. -
timeOfLastReset
public long timeOfLastReset()Deprecated.Return the time of last reset. -1 if last reset time could not be found- Returns:
- time of last reset or -1
-