Logging options for config parser.
More...
#include <qpid/log/Options.h>
|
| Options (const std::string &argv0_=std::string(), const std::string &name_="Logging options") |
| Pass argv[0] for use in syslog output.
|
|
| Options (const Options &) |
|
Options & | operator= (const Options &) |
|
void | parse (int argc, char const *const *argv, const std::string &configfile=std::string(), bool allowUnknown=false) |
| Parses options from argc/argv, environment variables and config file.
|
|
bool | findArg (int argc, char const *const *argv, const std::string &theArg) |
| Tests for presence of argc/argv switch.
|
|
boost::program_options::options_description_easy_init | addOptions () |
|
Logging options for config parser.
Definition at line 31 of file Options.h.
qpid::log::Options::Options |
( |
const std::string & |
argv0_ = std::string() , |
|
|
const std::string & |
name_ = "Logging options" |
|
) |
| |
Pass argv[0] for use in syslog output.
qpid::log::Options::Options |
( |
const Options & |
| ) |
|
boost::program_options::options_description_easy_init qpid::Options::addOptions |
( |
| ) |
|
|
inlineinherited |
bool qpid::Options::findArg |
( |
int |
argc, |
|
|
char const *const * |
argv, |
|
|
const std::string & |
theArg |
|
) |
| |
|
inherited |
Tests for presence of argc/argv switch.
void qpid::Options::parse |
( |
int |
argc, |
|
|
char const *const * |
argv, |
|
|
const std::string & |
configfile = std::string() , |
|
|
bool |
allowUnknown = false |
|
) |
| |
|
inherited |
Parses options from argc/argv, environment variables and config file.
Note the filename argument can reference an options variable that is updated by argc/argv or environment variable parsing.
std::string qpid::log::Options::argv0 |
bool qpid::log::Options::category |
bool qpid::log::Options::function |
bool qpid::log::Options::hiresTs |
bool qpid::log::Options::level |
std::string qpid::log::Options::name |
std::string qpid::log::Options::prefix |
std::vector<std::string> qpid::log::Options::selectors |
std::auto_ptr<SinkOptions> qpid::log::Options::sinkOptions |
bool qpid::log::Options::source |
bool qpid::log::Options::thread |
bool qpid::log::Options::time |
bool qpid::log::Options::trace |
The documentation for this struct was generated from the following file: