Kea 2.6.0
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>
12
13namespace isc {
14namespace hooks {
15
20
21// The first level traces normal operations,
22extern const int HOOKS_DBG_TRACE;
23
24// The next level traces each call to hook code.
25extern 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.
29extern const int HOOKS_DBG_EXTENDED_CALLS;
30
31
38
45
46} // namespace hooks
47} // namespace isc
48
49#endif // HOOKS_LOG_H
Logger Class.
Definition: log/logger.h:142
const int HOOKS_DBG_EXTENDED_CALLS
Definition: hooks_log.h:29
isc::log::Logger hooks_logger("hooks")
Hooks Logger.
Definition: hooks_log.h:37
const int HOOKS_DBG_CALLS
Definition: hooks_log.h:25
const int HOOKS_DBG_TRACE
Hooks debug Logging levels.
Definition: hooks_log.h:22
isc::log::Logger callouts_logger("callouts")
Callouts logger.
Definition: hooks_log.h:44
Defines the logger used by the top-level component of kea-lfc.