Class Main.OnlyCheckstyleLoggersFilter

    • Field Detail

      • packageName

        private final String packageName
        Name of the package used to filter on.
    • Method Detail

      • isLoggable

        public boolean isLoggable​(LogRecord logRecord)
        Returns whether the specified logRecord should be logged.
        Specified by:
        isLoggable in interface Filter
        Parameters:
        logRecord - the logRecord to log
        Returns:
        true if the logger name is in the package of this class or a subpackage