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.
        Parameters:
        value - the level
      • getLevel

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

        public String levelTipText()
        Returns the tip text for this property.
        Returns:
        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
        Parameters:
        record - the record to check
        Returns:
        true if the record's level matches the specified type