Kea 2.7.6
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>
6
7namespace isc {
8namespace asiodns {
9
10extern const isc::log::MessageID ASIODNS_FETCH_COMPLETED = "ASIODNS_FETCH_COMPLETED";
11extern const isc::log::MessageID ASIODNS_FETCH_STOPPED = "ASIODNS_FETCH_STOPPED";
12extern const isc::log::MessageID ASIODNS_OPEN_SOCKET = "ASIODNS_OPEN_SOCKET";
13extern const isc::log::MessageID ASIODNS_READ_DATA = "ASIODNS_READ_DATA";
14extern const isc::log::MessageID ASIODNS_READ_TIMEOUT = "ASIODNS_READ_TIMEOUT";
15extern const isc::log::MessageID ASIODNS_SEND_DATA = "ASIODNS_SEND_DATA";
16extern const isc::log::MessageID ASIODNS_UNKNOWN_ORIGIN = "ASIODNS_UNKNOWN_ORIGIN";
17extern const isc::log::MessageID ASIODNS_UNKNOWN_RESULT = "ASIODNS_UNKNOWN_RESULT";
18
19} // namespace asiodns
20} // namespace isc
21
22namespace {
23
24const 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
36const isc::log::MessageInitializer initializer(values);
37
38} // Anonymous namespace
39
Initialize Message Dictionary.
const isc::log::MessageID ASIODNS_READ_TIMEOUT
const isc::log::MessageID ASIODNS_UNKNOWN_ORIGIN
const isc::log::MessageID ASIODNS_FETCH_STOPPED
const isc::log::MessageID ASIODNS_OPEN_SOCKET
const isc::log::MessageID ASIODNS_UNKNOWN_RESULT
const isc::log::MessageID ASIODNS_FETCH_COMPLETED
const isc::log::MessageID ASIODNS_READ_DATA
const isc::log::MessageID ASIODNS_SEND_DATA
const char * MessageID
Defines the logger used by the top-level component of kea-lfc.