Kea  1.9.9-git
hooks_log.h
Go to the documentation of this file.
1 // Copyright (C) 2013-2015,2017 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #ifndef HOOKS_LOG_H
8 #define HOOKS_LOG_H
9 
10 #include <log/macros.h>
11 #include <hooks/hooks_messages.h>
12 
13 namespace isc {
14 namespace hooks {
15 
20 
21 // The first level traces normal operations,
22 extern const int HOOKS_DBG_TRACE;
23 
24 // The next level traces each call to hook code.
25 extern const int HOOKS_DBG_CALLS;
26 
27 // Additional information on the calls. Report each call to a callout (even
28 // if there are multiple callouts on a hook) and each status return.
29 extern const int HOOKS_DBG_EXTENDED_CALLS;
30 
31 
38 
45 
46 } // namespace hooks
47 } // namespace isc
48 
49 #endif // HOOKS_LOG_H
const int HOOKS_DBG_EXTENDED_CALLS
Definition: hooks_log.h:29
Logger Class.
Definition: log/logger.h:141
isc::log::Logger callouts_logger("callouts")
Callouts logger.
Definition: hooks_log.h:44
const int HOOKS_DBG_CALLS
Definition: hooks_log.h:25
Defines the logger used by the top-level component of kea-dhcp-ddns.
isc::log::Logger hooks_logger("hooks")
Hooks Logger.
Definition: hooks_log.h:37
const int HOOKS_DBG_TRACE
Hooks debug Logging levels.
Definition: hooks_log.h:22