Package onep :: Package element :: Module SyslogFilter :: Class SyslogFilter
[frames] | no frames]

Class SyslogFilter


Implements the EventFilter abstract class for filtering a syslog event

Implements the EventFilter abstract class for filtering a syslog event according to the specified criteria.

A Filter can be used to provide fine-tuned control over which events to listen to.

Instance Methods
 
__init__(self, pattern)
Constructs a SyslogFilter object with the specified text pattern

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, pattern)
(Constructor)

 

Constructs a SyslogFilter object with the specified text pattern

Parameters:
  • pattern - the regular expression text matching pattern
Overrides: object.__init__