Interface Filter


public interface Filter
A Filter provides a mechanism for exercising fine-grained control over which records get logged.
  • Method Summary

    Modifier and Type Method Description
    boolean isLoggable​(LogRecord record)
    Checks record to determine if it should be logged.
  • Method Details

    • isLoggable

      boolean isLoggable​(LogRecord record)
      Checks record to determine if it should be logged.
      Parameters:
      record - the LogRecord to be checked.
      Returns:
      true if the supplied log record needs to be logged, false otherwise.