Class NoErrorFilter

  • All Implemented Interfaces:
    Filter

    public class NoErrorFilter
    extends java.lang.Object
    implements Filter
    This class is the implementation class of Filter to filter out any LogRecord with Level.SEVERE.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Summary

      Constructors 
      Constructor Description
      NoErrorFilter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isLoggable​(LogRecord record)
      If the logging level of the LogRecord is the same as Level.SEVERE, then return false, otherwise, return true.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoErrorFilter

        public NoErrorFilter()
    • Method Detail

      • isLoggable

        public boolean isLoggable​(LogRecord record)
        If the logging level of the LogRecord is the same as Level.SEVERE, then return false, otherwise, return true.
        Specified by:
        isLoggable in interface Filter
        Parameters:
        record - the LogRecord instance
        Returns:
        true if it is loggable, otherwise false.