|
__init__(self,
pattern,
msgpart,
hint=None,
valid=[ ] ,
stat=False,
casesens=True,
ident=None,
disabled=False,
manual=False,
environ=None,
mfilter=None,
rfilter=None,
trigger=None)
Create a rule |
|
|
|
|
|
setTrigger(self,
trigger)
Use trigger function instead of pattern. |
|
|
|
setValid(self,
valid)
Parse valid key=value arguments of valid list |
|
|
|
process(self,
msg,
cat,
envs=set([ ]) ,
nofilter=False)
Apply rule to the message. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|