#include <conf.h>
Inheritance diagram for xlog::LogRules:

Public Types | |
| enum | { lrAccept = 1, lrReject = 0 } |
| Type of rules. More... | |
Public Member Functions | |
| LogRules (std::string const &name, bool reloadable) | |
| Constructor setting directive name and reloadability. | |
| LogRules (LogRules const &lr) | |
| Copy constructor. | |
| virtual LogRules & | operator= (LogRules const &right) |
| Assignment operator. | |
| ConfRules::Rule const * | match (LogLevel const &level) const |
| Returns the first rule that matches the given log level. | |
Protected Member Functions | |
| virtual bool | add (conf::Conf &conf, conf::Conf &new_conf) |
| Adds directives to a Conf object. | |
|
|
|
|
||||||||||||
|
This function must be overriden in derived classes to add directives to the given Conf object.
Implements conf::ConfBlock. |
|
|
Returns the first rule that matches a given log level.
|
1.4.6