CMD options have higher preference than config options.
[bpdyndnsd] / src / logger.h
CommitLineData
254bbf53
BS
1/** @file
2 * @brief Logger class header. This class represents the Logging facility.
3 *
4 *
5 *
6 * @copyright Intra2net AG
7 * @license GPLv2
8*/
9
10#ifndef LOGGER_H
11#define LOGGER_H
12
13namespace po = boost::program_options;
14
15using namespace std;
16
17class Logger
18{
19
20public:
21
22 Logger();
23
24 ~Logger();
25
26 void print_usage(const po::options_description*);
27
28 void print_version();
29
30 void print_cmd_parsed();
31
254bbf53
BS
32 void print_destructor_call(const string&);
33
34 void print_constructor_call(const string&);
35
36 void print_update_service(const string&);
37
38 void print_unknown_cmd_option(const string&);
39
40 void print_unknown_protocol(const string&);
41
42 void print_load_service_conf(const string&);
43
44 void print_load_main_conf(const string&);
45
46 void print_unknown_service_conf_option(const string&);
47
48 void print_unknown_main_conf_option(const string&);
49
50 void print_error_opening(const string&);
51
52 void print_error_config_path(const string&);
53
54 void print_conf_loaded(const string&);
55
56 void print_conf_not_loaded(const string&);
57
58 void print_missing_cmd_service_option();
59};
60
61#endif