Class LogCaptureFeature.DefaultFilter

  • All Implemented Interfaces:
    LogCaptureFeature.Filter
    Enclosing class:
    LogCaptureFeature

    protected static class LogCaptureFeature.DefaultFilter
    extends Object
    implements LogCaptureFeature.Filter
    Default Nuxeo filter which takes a logger name and a log level to accept only events matching both.

    Null or empty criteria are converted to match all of them.

    For instance, filter will match all loggers if given logger name is null or empty.

    Since:
    8.10
    • Field Detail

      • loggerName

        protected final String loggerName
      • logLevel

        protected final org.apache.logging.log4j.Level logLevel
    • Constructor Detail

      • DefaultFilter

        public DefaultFilter​(String loggerName,
                             String logLevel)