Commit 5f57f84c authored by Razvan Becheriu's avatar Razvan Becheriu
Browse files

added loger

parent 3d7cf83c
......@@ -18,6 +18,7 @@ libmysqlcb_la_SOURCES += mysql_cb_dhcp4.cc mysql_cb_dhcp4.h
libmysqlcb_la_SOURCES += mysql_cb_dhcp6.cc mysql_cb_dhcp6.h
libmysqlcb_la_SOURCES += mysql_cb_impl.cc mysql_cb_impl.h
libmysqlcb_la_SOURCES += mysql_cb_messages.cc mysql_cb_messages.h
libmysqlcb_la_SOURCES += mysql_cb_log.cc mysql_cb_log.h
libmysqlcb_la_SOURCES += mysql_query_macros_dhcp.h
libmysqlcb_la_SOURCES += version.cc
......
// Copyright (C) 2017-2018 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#include <config.h>
#include <mysql_cb_log.h>
namespace isc {
namespace dhcp {
isc::log::Logger mysql_cb_logger("mysql-cb-hooks");
} // namespace dhcp
} // namespace isc
// Copyright (C) 2017 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef LEASE_CMD_LOG_H
#define LEASE_CMD_LOG_H
#include <log/logger_support.h>
#include <log/macros.h>
#include <mysql_cb_messages.h>
namespace isc {
namespace dhcp {
extern isc::log::Logger mysql_cb_logger;
} // namespace dhcp
} // namespace isc
#endif
// File created from ../../../../src/hooks/dhcp/mysql_cb/mysql_cb_messages.mes on Thu May 09 2019 11:51
// File created from ../../../../src/hooks/dhcp/mysql_cb/mysql_cb_messages.mes on Thu May 09 2019 12:32
#include <cstddef>
#include <log/message_types.h>
......
// File created from ../../../../src/hooks/dhcp/mysql_cb/mysql_cb_messages.mes on Thu May 09 2019 11:51
// File created from ../../../../src/hooks/dhcp/mysql_cb/mysql_cb_messages.mes on Thu May 09 2019 12:32
#ifndef MYSQL_CB_MESSAGES_H
#define MYSQL_CB_MESSAGES_H
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment