OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::LogBaseSimple Class Reference

#include <logbasesimple.hpp>

Inheritance diagram for openvpn::LogBaseSimple:
[legend]
Collaboration diagram for openvpn::LogBaseSimple:
[legend]

Public Types

typedef RCPtr< LogBaseSimplePtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 LogBaseSimple ()
 
virtual void log (const std::string &str) override
 
- Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Private Attributes

std::mutex mutex
 
Log::Context log_context
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Detailed Description

Definition at line 22 of file logbasesimple.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 25 of file logbasesimple.hpp.

Constructor & Destructor Documentation

◆ LogBaseSimple()

openvpn::LogBaseSimple::LogBaseSimple ( )
inline

Definition at line 27 of file logbasesimple.hpp.

Member Function Documentation

◆ log()

virtual void openvpn::LogBaseSimple::log ( const std::string &  str)
inlineoverridevirtual

Implements openvpn::LogBase.

Definition at line 32 of file logbasesimple.hpp.

Member Data Documentation

◆ log_context

Log::Context openvpn::LogBaseSimple::log_context
private

Definition at line 43 of file logbasesimple.hpp.

◆ mutex

std::mutex openvpn::LogBaseSimple::mutex
private

Definition at line 42 of file logbasesimple.hpp.


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