summaryrefslogtreecommitdiffstats
path: root/src/hooks/dhcp/user_chk/user_chk_log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks/dhcp/user_chk/user_chk_log.h')
-rw-r--r--src/hooks/dhcp/user_chk/user_chk_log.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/hooks/dhcp/user_chk/user_chk_log.h b/src/hooks/dhcp/user_chk/user_chk_log.h
new file mode 100644
index 0000000..e191e28
--- /dev/null
+++ b/src/hooks/dhcp/user_chk/user_chk_log.h
@@ -0,0 +1,25 @@
+// Copyright (C) 2013-2015 Internet Systems Consortium, Inc. ("ISC")
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#ifndef USER_CHK_LOG_H
+#define USER_CHK_LOG_H
+
+#include <log/message_initializer.h>
+#include <log/macros.h>
+#include <user_chk_messages.h>
+
+namespace user_chk {
+
+/// @brief User Check Logger
+///
+/// Define the logger used to log messages. We could define it in multiple
+/// modules, but defining in a single module and linking to it saves time and
+/// space.
+extern isc::log::Logger user_chk_logger;
+
+} // end of namespace user_chk
+
+#endif // USER_CHK_LOG_H