Class NameFilter

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Serializable

    public class NameFilter
    extends AbstractLogRecordFilter
    Filters records based on regular expression applied to logger name.

    Valid options are:

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -regexp <adams.core.base.BaseRegExp> (property: regExp)
        The regular expression that the logger name must match.
        default: .*
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_RegExp

        protected BaseRegExp m_RegExp
        the regular expression to apply to the logger name.
    • Constructor Detail

      • NameFilter

        public NameFilter()
    • Method Detail

      • setRegExp

        public void setRegExp​(BaseRegExp value)
        Sets the regular expression to match the logger name against.
        value - the expression
      • getRegExp

        public BaseRegExp getRegExp()
        Returns the regular expression to match the logger name against.
        the expression
      • regExpTipText

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