Branch data Line data Source code
1 : : // File created from ../../../src/lib/config/config_messages.mes on Mon May 14 10:32:05 2012
2 : :
3 : : #include <cstddef>
4 : : #include <log/message_types.h>
5 : : #include <log/message_initializer.h>
6 : :
7 : : namespace isc {
8 : : namespace config {
9 : :
10 : : extern const isc::log::MessageID CONFIG_CCSESSION_MSG = "CONFIG_CCSESSION_MSG";
11 : : extern const isc::log::MessageID CONFIG_CCSESSION_MSG_INTERNAL = "CONFIG_CCSESSION_MSG_INTERNAL";
12 : : extern const isc::log::MessageID CONFIG_CCSESSION_STOPPING = "CONFIG_CCSESSION_STOPPING";
13 : : extern const isc::log::MessageID CONFIG_CCSESSION_STOPPING_UNKNOWN = "CONFIG_CCSESSION_STOPPING_UNKNOWN";
14 : : extern const isc::log::MessageID CONFIG_GET_FAIL = "CONFIG_GET_FAIL";
15 : : extern const isc::log::MessageID CONFIG_JSON_PARSE = "CONFIG_JSON_PARSE";
16 : : extern const isc::log::MessageID CONFIG_LOG_EXPLICIT = "CONFIG_LOG_EXPLICIT";
17 : : extern const isc::log::MessageID CONFIG_LOG_IGNORE_EXPLICIT = "CONFIG_LOG_IGNORE_EXPLICIT";
18 : : extern const isc::log::MessageID CONFIG_LOG_IGNORE_WILD = "CONFIG_LOG_IGNORE_WILD";
19 : : extern const isc::log::MessageID CONFIG_LOG_WILD_MATCH = "CONFIG_LOG_WILD_MATCH";
20 : : extern const isc::log::MessageID CONFIG_MOD_SPEC_FORMAT = "CONFIG_MOD_SPEC_FORMAT";
21 : : extern const isc::log::MessageID CONFIG_MOD_SPEC_REJECT = "CONFIG_MOD_SPEC_REJECT";
22 : : extern const isc::log::MessageID CONFIG_OPEN_FAIL = "CONFIG_OPEN_FAIL";
23 : :
24 : : } // namespace config
25 : : } // namespace isc
26 : :
27 : : namespace {
28 : :
29 : : const char* values[] = {
30 : : "CONFIG_CCSESSION_MSG", "error in CC session message: %1",
31 : : "CONFIG_CCSESSION_MSG_INTERNAL", "error handling CC session message: %1",
32 : : "CONFIG_CCSESSION_STOPPING", "error sending stopping message: %1",
33 : : "CONFIG_CCSESSION_STOPPING_UNKNOWN", "unknown error sending stopping message",
34 : : "CONFIG_GET_FAIL", "error getting configuration from cfgmgr: %1",
35 : : "CONFIG_JSON_PARSE", "JSON parse error in %1: %2",
36 : : "CONFIG_LOG_EXPLICIT", "will use logging configuration for explicitly-named logger %1",
37 : : "CONFIG_LOG_IGNORE_EXPLICIT", "ignoring logging configuration for explicitly-named logger %1",
38 : : "CONFIG_LOG_IGNORE_WILD", "ignoring logging configuration for wildcard logger %1",
39 : : "CONFIG_LOG_WILD_MATCH", "will use logging configuration for wildcard logger %1",
40 : : "CONFIG_MOD_SPEC_FORMAT", "module specification error in %1: %2",
41 : : "CONFIG_MOD_SPEC_REJECT", "module specification rejected by cfgmgr: %1",
42 : : "CONFIG_OPEN_FAIL", "error opening %1: %2",
43 : : NULL
44 : : };
45 : :
46 : 110 : const isc::log::MessageInitializer initializer(values);
47 : :
48 : 110 : } // Anonymous namespace
49 : :
|