Kea
2.7.8
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
a
b
c
d
e
f
h
i
k
m
n
o
p
r
s
t
u
w
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Typedefs
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
v
w
y
Enumerations
a
c
d
e
f
h
i
l
m
n
o
p
q
r
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
y
Related Symbols
Files
File List
File Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
a
b
c
d
e
g
h
i
l
m
n
p
q
r
s
u
v
w
y
Variables
b
c
d
e
f
h
l
n
o
p
q
r
s
t
u
y
Typedefs
Enumerations
Enumerator
d
s
Macros
a
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
u
v
y
macros.h
Go to the documentation of this file.
1
// Copyright (C) 2011-2015 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_MACROS_H
8
#define LOG_MACROS_H
9
10
#include <
log/logger.h
>
11
#include <
log/log_dbglevels.h
>
12
14
#define LOG_DEBUG(LOGGER, LEVEL, MESSAGE) \
15
if (!(LOGGER).isDebugEnabled((LEVEL))) { \
16
} else \
17
(LOGGER).debug((LEVEL), (MESSAGE))
14
#define LOG_DEBUG(LOGGER, LEVEL, MESSAGE) \
…
18
20
#define LOG_INFO(LOGGER, MESSAGE) \
21
if (!(LOGGER).isInfoEnabled()) { \
22
} else \
23
(LOGGER).info((MESSAGE))
20
#define LOG_INFO(LOGGER, MESSAGE) \
…
24
26
#define LOG_WARN(LOGGER, MESSAGE) \
27
if (!(LOGGER).isWarnEnabled()) { \
28
} else \
29
(LOGGER).warn((MESSAGE))
26
#define LOG_WARN(LOGGER, MESSAGE) \
…
30
32
#define LOG_ERROR(LOGGER, MESSAGE) \
33
if (!(LOGGER).isErrorEnabled()) { \
34
} else \
35
(LOGGER).error((MESSAGE))
32
#define LOG_ERROR(LOGGER, MESSAGE) \
…
36
38
#define LOG_FATAL(LOGGER, MESSAGE) \
39
if (!(LOGGER).isFatalEnabled()) { \
40
} else \
41
(LOGGER).fatal((MESSAGE))
38
#define LOG_FATAL(LOGGER, MESSAGE) \
…
42
43
#endif
logger.h
log_dbglevels.h
When a message is logged with DEBUG severity, the debug level associated with the message is also spe...
src
lib
log
macros.h
Generated on Mon Mar 31 2025 19:22:57 for Kea by
1.12.0