OpenVPN 3 Core Library
Loading...
Searching...
No Matches
logthread.hpp
Go to the documentation of this file.
1// OpenVPN -- An application to securely tunnel IP networks
2// over a single port, with support for SSL/TLS-based
3// session authentication and key exchange,
4// packet encryption, packet authentication, and
5// packet compression.
6//
7// Copyright (C) 2012- OpenVPN Inc.
8//
9// SPDX-License-Identifier: MPL-2.0 OR AGPL-3.0-only WITH openvpn3-openssl-exception
10//
11
12// This is a general-purpose logging framework that allows for OPENVPN_LOG and
13// OPENVPN_LOG_NTNL macros to dispatch logging data to a thread-local handler.
14
15#pragma once
16
17// the following define was part of the header guard that was replaced by the
18// "#pragma once". Apparently, some logging consumers check that this macro is
19// defined and their logging breaks if it is not. Adding it back here as the
20// path of least resistance to fix; but IMO, the macro name should be better.
21#define OPENVPN_LOG_LOGTHREAD_H
22