| Kea 3.0.2-git

asiodns_messages.cc
Go to the documentation of this file.
1// File created from src/lib/asiodns/asiodns_messages.mes
2
3#include <cstddef>
4#include <log/message_types.h>
5#include <log/message_initializer.h>
6
7 namespace isc {
8 namespace asiodns {
9
10 extern const isc::log::MessageID ASIODNS_FETCH_COMPLETED = "ASIODNS_FETCH_COMPLETED";
11 extern const isc::log::MessageID ASIODNS_FETCH_STOPPED = "ASIODNS_FETCH_STOPPED";
12 extern const isc::log::MessageID ASIODNS_OPEN_SOCKET = "ASIODNS_OPEN_SOCKET";
13 extern const isc::log::MessageID ASIODNS_READ_DATA = "ASIODNS_READ_DATA";
14 extern const isc::log::MessageID ASIODNS_READ_TIMEOUT = "ASIODNS_READ_TIMEOUT";
15 extern const isc::log::MessageID ASIODNS_SEND_DATA = "ASIODNS_SEND_DATA";
16 extern const isc::log::MessageID ASIODNS_UNKNOWN_ORIGIN = "ASIODNS_UNKNOWN_ORIGIN";
17 extern const isc::log::MessageID ASIODNS_UNKNOWN_RESULT = "ASIODNS_UNKNOWN_RESULT";
18
19} // namespace asiodns
20} // namespace isc
21
22 namespace {
23
24 const char* values[] = {
25 "ASIODNS_FETCH_COMPLETED", "upstream fetch to %1(%2) has now completed",
26 "ASIODNS_FETCH_STOPPED", "upstream fetch to %1(%2) has been stopped",
27 "ASIODNS_OPEN_SOCKET", "error %1 opening %2 socket to %3(%4)",
28 "ASIODNS_READ_DATA", "error %1 reading %2 data from %3(%4)",
29 "ASIODNS_READ_TIMEOUT", "receive timeout while waiting for data from %1(%2)",
30 "ASIODNS_SEND_DATA", "error %1 sending data using %2 to %3(%4)",
31 "ASIODNS_UNKNOWN_ORIGIN", "unknown origin for ASIO error code %1 (protocol: %2, address %3)",
32 "ASIODNS_UNKNOWN_RESULT", "unknown result (%1) when IOFetch::stop() was executed for I/O to %2(%3)",
33 NULL
34};
35
36 const isc::log::MessageInitializer initializer(values);
37
38} // Anonymous namespace
39
isc::log::MessageInitializer
Initialize Message Dictionary.
Definition message_initializer.h:72
message_initializer.h
message_types.h
isc::asiodns
Definition asiodns_messages.cc:8
isc::asiodns::ASIODNS_READ_TIMEOUT
const isc::log::MessageID ASIODNS_READ_TIMEOUT
Definition asiodns_messages.h:15
isc::asiodns::ASIODNS_UNKNOWN_ORIGIN
const isc::log::MessageID ASIODNS_UNKNOWN_ORIGIN
Definition asiodns_messages.h:17
isc::asiodns::ASIODNS_FETCH_STOPPED
const isc::log::MessageID ASIODNS_FETCH_STOPPED
Definition asiodns_messages.h:12
isc::asiodns::ASIODNS_OPEN_SOCKET
const isc::log::MessageID ASIODNS_OPEN_SOCKET
Definition asiodns_messages.h:13
isc::asiodns::ASIODNS_UNKNOWN_RESULT
const isc::log::MessageID ASIODNS_UNKNOWN_RESULT
Definition asiodns_messages.h:18
isc::asiodns::ASIODNS_FETCH_COMPLETED
const isc::log::MessageID ASIODNS_FETCH_COMPLETED
Definition asiodns_messages.h:11
isc::asiodns::ASIODNS_READ_DATA
const isc::log::MessageID ASIODNS_READ_DATA
Definition asiodns_messages.h:14
isc::asiodns::ASIODNS_SEND_DATA
const isc::log::MessageID ASIODNS_SEND_DATA
Definition asiodns_messages.h:16
isc::log::MessageID
const char * MessageID
Definition message_types.h:15
isc
Defines the logger used by the top-level component of kea-lfc.
Definition agent_parser.cc:148