summaryrefslogtreecommitdiffstats
path: root/src/lib/asiodns/logger.cc
diff options
context:
space:
mode:
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>2012-01-03 14:12:38 +0100
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>2012-01-03 14:12:38 +0100
commit849cf2de22c31a2ef5c446a30f9ad5bac23d8c42 (patch)
tree2083f76dec7b1b7c08dc1a88da13704192badc71 /src/lib/asiodns/logger.cc
parent[805] Details based on review (diff)
downloadkea-849cf2de22c31a2ef5c446a30f9ad5bac23d8c42.tar.xz
kea-849cf2de22c31a2ef5c446a30f9ad5bac23d8c42.zip
[805] Log new servers
Diffstat (limited to 'src/lib/asiodns/logger.cc')
-rw-r--r--src/lib/asiodns/logger.cc25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/asiodns/logger.cc b/src/lib/asiodns/logger.cc
new file mode 100644
index 0000000000..e4c60e2200
--- /dev/null
+++ b/src/lib/asiodns/logger.cc
@@ -0,0 +1,25 @@
+// Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
+//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+// PERFORMANCE OF THIS SOFTWARE.
+
+#include <asiodns/logger.h>
+
+namespace isc {
+namespace asiodns {
+
+/// Use the ASIO logger
+
+isc::log::Logger logger("asiodns");
+
+}
+}