| Apache Qpid - AMQP Messaging for Java JMS, C++, Python, Ruby, and .NET | Apache Qpid Documentation |
#include <qpid/log/Options.h>
Inherits qpid::Options.
Public Member Functions | |
| 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. | |
| boost::program_options::options_description_easy_init | addOptions () |
Public Attributes | |
| std::string | argv0 |
| std::string | name |
| std::vector< std::string > | selectors |
| bool | time |
| bool | level |
| bool | thread |
| bool | source |
| bool | function |
| bool | trace |
| std::string | prefix |
| std::auto_ptr< SinkOptions > | sinkOptions |
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 | ( | ) | [inline, inherited] |
| 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 |
| 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 |
1.4.7