ch.qos.logback.core.status
Class StatusChecker

java.lang.Object
  extended by ch.qos.logback.core.status.StatusChecker

public class StatusChecker
extends Object


Constructor Summary
StatusChecker(Context context)
           
StatusChecker(StatusManager sm)
           
 
Method Summary
 boolean containsException(Class exceptionType)
           
 boolean containsMatch(int level, String regex)
           
 boolean containsMatch(long threshold, int level, String regex)
           
 boolean containsMatch(String regex)
           
 int getHighestLevel(long threshold)
           
 boolean hasXMLParsingErrors(long threshold)
           
 boolean isErrorFree(long threshold)
           
 int matchCount(String regex)
           
 boolean noXMLParsingErrorsOccurred(long threshold)
           
 long timeOfLastReset()
          Return the time of last reset. -1 if last reset time could not be found
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusChecker

public StatusChecker(StatusManager sm)

StatusChecker

public StatusChecker(Context context)
Method Detail

hasXMLParsingErrors

public boolean hasXMLParsingErrors(long threshold)

noXMLParsingErrorsOccurred

public boolean noXMLParsingErrorsOccurred(long threshold)

getHighestLevel

public int getHighestLevel(long threshold)

isErrorFree

public boolean isErrorFree(long threshold)

containsMatch

public boolean containsMatch(long threshold,
                             int level,
                             String regex)

containsMatch

public boolean containsMatch(int level,
                             String regex)

containsMatch

public boolean containsMatch(String regex)

matchCount

public int matchCount(String regex)

containsException

public boolean containsException(Class exceptionType)

timeOfLastReset

public long timeOfLastReset()
Return the time of last reset. -1 if last reset time could not be found

Returns:
time of last reset or -1


Copyright © 2005-2012 QOS.ch. All Rights Reserved.