Kea 2.7.4
log_dbglevels.h
Go to the documentation of this file.
1// Copyright (C) 2011-2024 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
41namespace isc {
42namespace log {
43
50extern const int DBGLVL_START_SHUT;
51
54extern const int DBGLVL_COMMAND;
55
58extern const int DBGLVL_PKT_HANDLING;
59
62extern 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
69extern const int DBGLVL_TRACE_BASIC;
70
72extern const int DBGLVL_TRACE_BASIC_DATA;
73
75extern const int DBGLVL_TRACE_DETAIL;
76
78extern const int DBGLVL_TRACE_DETAIL_DATA;
79
81extern const int DBGLVL_TRACE_TECHNICAL;
82
85
87extern const int DBGLVL_TRACE_MAX;
88
89} // log namespace
90} // isc namespace
91
92#endif // LOG_DBGLVLS_H
const int DBGLVL_TRACE_BASIC
Trace basic operations.
const int DBGLVL_COMMAND
This debug level is reserved for logging the exchange of messages/commands between processes,...
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...
const int DBGLVL_TRACE_TECHNICAL
Trace technical operations.
const int DBGLVL_TRACE_MAX
The highest level of debug logging.
const int DBGLVL_TRACE_TECHNICAL_DATA
Trace data associated with technical operations.
const int DBGLVL_TRACE_DETAIL_DATA
Trace data associated with detailed operations.
const int DBGLVL_PKT_HANDLING
This debug level is reserved for logging the details of packet handling, such as dropping the packet ...
const int DBGLVL_TRACE_BASIC_DATA
Trace data associated with the basic operations.
const int DBGLVL_COMMAND_DATA
If the commands have associated data, this level is when they are printed.
const int DBGLVL_TRACE_DETAIL
Trace detailed operations.
Defines the logger used by the top-level component of kea-lfc.