Kea 2.7.7
legal_log_db_log.h
Go to the documentation of this file.
1// Copyright (C) 2018-2022 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 LEGAL_LOG_DB_LOG_H
8#define LEGAL_LOG_DB_LOG_H
9
10#include <database/db_log.h>
11
12#include <boost/noncopyable.hpp>
13
14namespace isc {
15namespace dhcp {
16
18class LegalLogDbLogger : boost::noncopyable {
19public:
24 LegalLogDbLogger(isc::db::DbLogger& legal_log_db_logger);
25
31};
32
33} // namespace dhcp
34} // namespace isc
35
36#endif // LEGAL_LOG_DB_LOG_H
Database logger class.
Definition db_log.h:74
Legal log database logger class in RAII style.
LegalLogDbLogger(isc::db::DbLogger &legal_log_db_logger)
Constructor.
We want to reuse the database backend connection and exchange code for other uses,...
Defines the logger used by the top-level component of kea-lfc.