Kea
1.5.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
>
11
#include <hooks/hooks_messages.h>
12
13
namespace
isc
{
14
namespace
hooks {
15
20
21
// The first level traces normal operations,
22
extern
const
int
HOOKS_DBG_TRACE
;
23
24
// The next level traces each call to hook code.
25
extern
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.
29
extern
const
int
HOOKS_DBG_EXTENDED_CALLS
;
30
31
37
extern
isc::log::Logger
hooks_logger
;
38
44
extern
isc::log::Logger
callouts_logger
;
45
46
}
// namespace hooks
47
}
// namespace isc
48
49
#endif // HOOKS_LOG_H
isc::log::Logger
Logger Class.
Definition:
log/logger.h:143
isc::hooks::hooks_logger
isc::log::Logger hooks_logger("hooks")
Hooks Logger.
Definition:
hooks_log.h:37
isc::hooks::HOOKS_DBG_CALLS
const int HOOKS_DBG_CALLS
Definition:
hooks_log.h:25
macros.h
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:144
isc::hooks::HOOKS_DBG_TRACE
const int HOOKS_DBG_TRACE
Hooks debug Logging levels.
Definition:
hooks_log.h:22
isc::hooks::HOOKS_DBG_EXTENDED_CALLS
const int HOOKS_DBG_EXTENDED_CALLS
Definition:
hooks_log.h:29
isc::hooks::callouts_logger
isc::log::Logger callouts_logger("callouts")
Callouts logger.
Definition:
hooks_log.h:44
src
lib
hooks
hooks_log.h
Generated on Fri Jul 10 2020 09:12:51 for Kea by
1.8.18