| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation | 
A selector identifies the set of log messages to enable. More...
#include <qpid/log/Selector.h>
| Public Member Functions | |
| Selector () | |
| Empty selector selects nothing. | |
| Selector (const Options &) | |
| Set selector from Options. | |
| Selector (Level l, const std::string &s=std::string()) | |
| Equavlient to: Selector s; s.enable(l, s) | |
| Selector (const std::string &enableStr) | |
| void | enable (Level level, const std::string &substring=std::string()) | 
| Enable messages with level in levels where the file name contains substring. | |
| void | enable (const std::string &enableStr) | 
| Enable based on a 'level[+]:file' string. | |
| bool | isEnabled (Level level, const char *function) | 
| True if level is enabled for file. | |
A selector identifies the set of log messages to enable.
Thread object unsafe, pass-by-value type.
| qpid::log::Selector::Selector | ( | ) |  [inline] | 
Empty selector selects nothing.
Definition at line 38 of file Selector.h.
| qpid::log::Selector::Selector | ( | Level | l, | 
| const std::string & | s = std::string() | ||
| ) |  [inline] | 
Equavlient to: Selector s; s.enable(l, s)
Definition at line 44 of file Selector.h.
References enable().
| qpid::log::Selector::Selector | ( | const std::string & | enableStr | ) |  [inline] | 
Definition at line 48 of file Selector.h.
References enable().
| void qpid::log::Selector::enable | ( | Level | level, | 
| const std::string & | substring = std::string() | ||
| ) |  [inline] | 
Enable messages with level in levels where the file name contains substring.
Empty string matches all.
Definition at line 53 of file Selector.h.
Referenced by Selector().
| void qpid::log::Selector::enable | ( | const std::string & | enableStr | ) | 
Enable based on a 'level[+]:file' string.
| bool qpid::log::Selector::isEnabled | ( | Level | level, | 
| const char * | function | ||
| ) | 
True if level is enabled for file.
 1.7.5
 1.7.5