00001 #ifndef QPID_LOG_OPTIONS_H
00002 #define QPID_LOG_OPTIONS_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include "qpid/Options.h"
00022 #include "SinkOptions.h"
00023 #include <iosfwd>
00024 #include <memory>
00025
00026 namespace qpid {
00027 namespace log {
00028
00030 struct Options : public qpid::Options {
00032 Options(const std::string& argv0_=std::string(),
00033 const std::string& name_="Logging options");
00034 Options(const Options &);
00035
00036 Options& operator=(const Options&);
00037
00038 std::string argv0;
00039 std::string name;
00040 std::vector<std::string> selectors;
00041 bool time, level, thread, source, function;
00042 bool trace;
00043 std::string prefix;
00044 std::auto_ptr<SinkOptions> sinkOptions;
00045 };
00046
00047 }}
00048
00049 #endif