Class LevelFilter

    • Constructor Summary

      Constructors 
      Constructor Description
      LevelFilter​(int minLevel, int maxLevel)
      Creates a filter instance using integer values as the level range.
      LevelFilter​(java.util.logging.Level minLevel, java.util.logging.Level maxLevel)
      Creates a filter instance with a specified Level range.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(RepositoryLogRecordHeader record)
      Checks if record should be accepted into the list.
      • Methods inherited from class java.lang.Object

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

      • LevelFilter

        public LevelFilter​(int minLevel,
                           int maxLevel)
        Creates a filter instance using integer values as the level range. These level integers are as defined in the java.util.logging.Level class.
        Parameters:
        minLevel - lower boundary of the level range.
        maxLevel - upper boundary of the level range.
        See Also:
        Level
      • LevelFilter

        public LevelFilter​(java.util.logging.Level minLevel,
                           java.util.logging.Level maxLevel)
        Creates a filter instance with a specified Level range.
        Parameters:
        minLevel - lower boundary of the level range. Value null means that lower boundary won't be checked.
        maxLevel - upper boundary of the level range. Value null means that upper boundary won't be checked.