Class TypeFilter

    • Field Detail

      • m_Level

        protected LoggingLevel m_Level
        the type of log record to accept.
    • Constructor Detail

      • TypeFilter

        public TypeFilter()
    • Method Detail

      • setLevel

        public void setLevel​(LoggingLevel value)
        Sets the logging level of records to accept.
        value - the level
      • getLevel

        public LoggingLevel getLevel()
        Returns the logging level of records to accept.
        the level
      • levelTipText

        public String levelTipText()
        Returns the tip text for this property.
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • acceptRecord

        public boolean acceptRecord​(LogRecord record)
        Returns whether the log record is accepted or not for further processing.
        Specified by:
        acceptRecord in class AbstractLogRecordFilter
        record - the record to check
        true if the record's level matches the specified type