Kea  1.9.9-git
log_dbglevels.h
Go to the documentation of this file.
1 // Copyright (C) 2011-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 LOG_DBGLVLS_H
8 #define LOG_DBGLVLS_H
9 
40 
41 namespace isc {
42 namespace log {
43 
50 extern const int DBGLVL_START_SHUT;
51 
54 extern const int DBGLVL_COMMAND;
55 
58 extern const int DBGLVL_COMMAND_DATA;
59 
60 // The following constants are suggested values for common operations.
61 // Depending on the exact nature of the code, modules may or may not use these
62 // levels.
63 
65 extern const int DBGLVL_TRACE_BASIC;
66 
68 extern const int DBGLVL_TRACE_BASIC_DATA;
69 
71 extern const int DBGLVL_TRACE_DETAIL;
72 
74 extern const int DBGLVL_TRACE_DETAIL_DATA;
75 
76 } // log namespace
77 } // isc namespace
78 
79 #endif // LOG_DBGLVLS_H
const int DBGLVL_TRACE_BASIC
Trace basic operations.
Definition: log_dbglevels.h:65
const int DBGLVL_COMMAND_DATA
If the commands have associated data, this level is when they are printed.
Definition: log_dbglevels.h:58
const int DBGLVL_TRACE_DETAIL_DATA
Trace data associated with detailed operations.
Definition: log_dbglevels.h:74
Defines the logger used by the top-level component of kea-dhcp-ddns.
const int DBGLVL_COMMAND
This debug level is reserved for logging the exchange of messages/commands between processes...
Definition: log_dbglevels.h:54
const int DBGLVL_TRACE_DETAIL
Trace detailed operations.
Definition: log_dbglevels.h:71
const int DBGLVL_TRACE_BASIC_DATA
Trace data associated with the basic operations.
Definition: log_dbglevels.h:68
const int DBGLVL_START_SHUT
This is given a value of 0 as that is the level selected if debugging is enabled without giving a lev...
Definition: log_dbglevels.h:50