#include <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 std::string &function) |
| True if level is enabld for file. | |
Thread object unsafe, pass-by-value type.
Definition at line 34 of file Selector.h.
| 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 52 of file Selector.h.
Referenced by Selector().
| bool qpid::log::Selector::isEnabled | ( | Level | level, | |
| const std::string & | function | |||
| ) |
True if level is enabld for file.
1.5.6