diff options
Diffstat (limited to 'src/lib/tcp/tcp_log.h')
-rw-r--r-- | src/lib/tcp/tcp_log.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/tcp/tcp_log.h b/src/lib/tcp/tcp_log.h new file mode 100644 index 0000000..ec3dce3 --- /dev/null +++ b/src/lib/tcp/tcp_log.h @@ -0,0 +1,23 @@ +// Copyright (C) 2022 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 tcp://mozilla.org/MPL/2.0/. + +#ifndef TCP_LOG_H +#define TCP_LOG_H + +#include <log/logger_support.h> +#include <log/macros.h> +#include <tcp/tcp_messages.h> + +namespace isc { +namespace tcp { + +/// Define the logger used within libkea-tcp library. +extern isc::log::Logger tcp_logger; + +} // namespace tcp +} // namespace isc + +#endif // TCP_LOG_H |