|
1 |
| -// Copyright (C) 2011-2021 Internet Systems Consortium, Inc. ("ISC") |
| 1 | +// Copyright (C) 2011-2024 Internet Systems Consortium, Inc. ("ISC") |
2 | 2 | //
|
3 | 3 | // This Source Code Form is subject to the terms of the Mozilla Public
|
4 | 4 | // License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
7 | 7 | #ifndef LOG_DBGLVLS_H
|
8 | 8 | #define LOG_DBGLVLS_H
|
9 | 9 |
|
10 |
| -/// \file |
| 10 | +/// @file |
11 | 11 | ///
|
12 | 12 | /// When a message is logged with DEBUG severity, the debug level associated
|
13 | 13 | /// with the message is also specified. This debug level is a number
|
|
41 | 41 | namespace isc {
|
42 | 42 | namespace log {
|
43 | 43 |
|
44 |
| -/// Process startup/shutdown debug messages. Note that these are _debug_ |
| 44 | +/// @brief Process startup/shutdown debug messages. Note that these are _debug_ |
45 | 45 | /// messages, as other messages related to startup and shutdown may be output
|
46 | 46 | /// with another severity. For example, when the authoritative server starts
|
47 | 47 | /// up, the "server started" message could be output at a severity of INFO.
|
48 | 48 | /// "Server starting" and messages indicating the stages in startup should be
|
49 | 49 | /// debug messages output at this severity.
|
50 | 50 | extern const int DBGLVL_START_SHUT;
|
51 | 51 |
|
52 |
| -/// This debug level is reserved for logging the exchange of messages/commands |
| 52 | +/// @brief This debug level is reserved for logging the exchange of messages/commands |
53 | 53 | /// between processes, including configuration messages.
|
54 | 54 | extern const int DBGLVL_COMMAND;
|
55 | 55 |
|
56 |
| -/// This debug level is reserved for logging the details of packet handling, such |
| 56 | +/// @brief This debug level is reserved for logging the details of packet handling, such |
57 | 57 | /// as dropping the packet for various reasons.
|
58 | 58 | extern const int DBGLVL_PKT_HANDLING;
|
59 | 59 |
|
60 |
| -/// If the commands have associated data, this level is when they are printed. |
| 60 | +/// @brief If the commands have associated data, this level is when they are printed. |
61 | 61 | /// This includes configuration messages.
|
62 | 62 | extern const int DBGLVL_COMMAND_DATA;
|
63 | 63 |
|
64 | 64 | // The following constants are suggested values for common operations.
|
65 | 65 | // Depending on the exact nature of the code, modules may or may not use these
|
66 | 66 | // levels.
|
67 | 67 |
|
68 |
| -/// Trace basic operations. |
| 68 | +/// @brief Trace basic operations. |
69 | 69 | extern const int DBGLVL_TRACE_BASIC;
|
70 | 70 |
|
71 |
| -/// Trace data associated with the basic operations. |
| 71 | +/// @brief Trace data associated with the basic operations. |
72 | 72 | extern const int DBGLVL_TRACE_BASIC_DATA;
|
73 | 73 |
|
74 |
| -/// Trace detailed operations. |
| 74 | +/// @brief Trace detailed operations. |
75 | 75 | extern const int DBGLVL_TRACE_DETAIL;
|
76 | 76 |
|
77 |
| -/// Trace data associated with detailed operations. |
| 77 | +/// @brief Trace data associated with detailed operations. |
78 | 78 | extern const int DBGLVL_TRACE_DETAIL_DATA;
|
79 | 79 |
|
80 |
| -} // log namespace |
81 |
| -} // isc namespace |
| 80 | +/// @brief The highest level of debug logging. |
| 81 | +extern const int DBGLVL_TRACE_ALL; |
| 82 | + |
| 83 | +} // log namespace |
| 84 | +} // isc namespace |
82 | 85 |
|
83 | 86 | #endif // LOG_DBGLVLS_H
|
0 commit comments