Kea  2.3.3-git
log_dbglevels.h
Go to the documentation of this file.
1 // Copyright (C) 2011-2021 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_PKT_HANDLING;
59 
62 extern const int DBGLVL_COMMAND_DATA;
63 
64 // The following constants are suggested values for common operations.
65 // Depending on the exact nature of the code, modules may or may not use these
66 // levels.
67 
69 extern const int DBGLVL_TRACE_BASIC;
70 
72 extern const int DBGLVL_TRACE_BASIC_DATA;
73 
75 extern const int DBGLVL_TRACE_DETAIL;
76 
78 extern const int DBGLVL_TRACE_DETAIL_DATA;
79 
80 } // log namespace
81 } // isc namespace
82 
83 #endif // LOG_DBGLVLS_H
const int DBGLVL_TRACE_BASIC
Trace basic operations.
Definition: log_dbglevels.h:69
const int DBGLVL_PKT_HANDLING
This debug level is reserved for logging the details of packet handling, such as dropping the packet ...
Definition: log_dbglevels.h:58
const int DBGLVL_COMMAND_DATA
If the commands have associated data, this level is when they are printed.
Definition: log_dbglevels.h:62
const int DBGLVL_TRACE_DETAIL_DATA
Trace data associated with detailed operations.
Definition: log_dbglevels.h:78
Defines the logger used by the top-level component of kea-lfc.
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:75
const int DBGLVL_TRACE_BASIC_DATA
Trace data associated with the basic operations.
Definition: log_dbglevels.h:72
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