OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::Log::Context::Wrapper Class Reference

Argument to construct a Context in a different thread. More...

#include <logdatetime.hpp>

Public Member Functions

 Wrapper ()
 

Private Attributes

OPENVPN_LOG_CLASSlog
 

Friends

struct Context
 

Detailed Description

Argument to construct a Context in a different thread.

The new Context will have the same global_log pointer as the current Context. Intended for the thread_local version of global_log

Definition at line 34 of file logdatetime.hpp.

Constructor & Destructor Documentation

◆ Wrapper()

openvpn::Log::Context::Wrapper::Wrapper ( )
inline

Definition at line 49 of file logthread_class.hpp.

Friends And Related Symbol Documentation

◆ Context

friend struct Context
friend

Definition at line 55 of file logthread_class.hpp.

Member Data Documentation

◆ log

OPENVPN_LOG_CLASS* openvpn::Log::Context::Wrapper::log
private

Definition at line 56 of file logthread_class.hpp.


The documentation for this class was generated from the following files: