Qore Logger Module Reference
0.4
|
Implements a general event filtering class. More...
Public Member Methods | |
int | eval (LoggerEvent event) |
Performs filtering logic on an event and returns the decision for the event. More... | |
Public Attributes | |
const | ACCEPT = 1 |
The event will be processed. | |
const | DENY = -1 |
The event should not be processed. | |
const | NEUTRAL = 0 |
No decision could be made, further filtering should occur. | |
Implements a general event filtering class.
Users should extend this class to implement customized logging event filtering. The filter consists of a linear chain of particular filters evaluating if the event should be immediately accepted, rejected or passed to next filter.
int Logger::LoggerFilter::eval | ( | LoggerEvent | event | ) |