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
legal_log_db_log.cc
Go to the documentation of this file.
1
// Copyright (C) 2018-2025 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
8
9
#include <config.h>
10
11
#include <
legal_log_db_log.h
>
12
#include <mutex>
13
14
using namespace
isc::db
;
15
using namespace
std;
16
17
namespace
isc
{
18
19
namespace
db {
20
21
extern
mutex
db_logger_mutex
;
22
23
}
// namespace db
24
25
namespace
dhcp {
26
27
LegalLogDbLogger::LegalLogDbLogger
(
DbLogger
& legal_log_db_logger) {
28
lock_guard<mutex> lk(
db_logger_mutex
);
29
db_logger_stack
.push_back(legal_log_db_logger);
30
}
27
LegalLogDbLogger::LegalLogDbLogger
(
DbLogger
& legal_log_db_logger) {
…
}
31
32
LegalLogDbLogger::~LegalLogDbLogger
() {
33
lock_guard<mutex> lk(
db_logger_mutex
);
34
db_logger_stack
.pop_back();
35
}
32
LegalLogDbLogger::~LegalLogDbLogger
() {
…
}
36
37
}
// namespace dhcp
38
}
// namespace isc
isc::db::DbLogger
Database logger class.
Definition
db_log.h:74
isc::dhcp::LegalLogDbLogger::LegalLogDbLogger
LegalLogDbLogger(isc::db::DbLogger &legal_log_db_logger)
Constructor.
Definition
legal_log_db_log.cc:27
isc::dhcp::LegalLogDbLogger::~LegalLogDbLogger
~LegalLogDbLogger()
Destructor.
Definition
legal_log_db_log.cc:32
legal_log_db_log.h
isc::db
Definition
audit_entry.cc:14
isc::db::db_logger_stack
DbLoggerStack db_logger_stack
Global database logger stack (initialized to database logger)
Definition
db_log.cc:48
isc::db::db_logger_mutex
std::mutex db_logger_mutex
Global mutex to protect logger stack.
Definition
db_log.cc:50
isc
Defines the logger used by the top-level component of kea-lfc.
Definition
agent_parser.cc:148
src
lib
dhcpsrv
legal_log_db_log.cc
Generated on Thu Apr 17 2025 11:33:28 for Kea by
1.12.0