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

#include <daemon.hpp>

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

Public Member Functions

 LogReopen (const std::string &log_fn, const bool combine_out_err)
 
virtual void reopen () 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

const std::string log_fn_
 
const bool combine_out_err_
 

Additional Inherited Members

- Public Types inherited from openvpn::LogSetup
typedef RCPtr< LogSetupPtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 
- 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 33 of file daemon.hpp.

Constructor & Destructor Documentation

◆ LogReopen()

openvpn::LogReopen::LogReopen ( const std::string &  log_fn,
const bool  combine_out_err 
)
inline

Definition at line 36 of file daemon.hpp.

Member Function Documentation

◆ reopen()

virtual void openvpn::LogReopen::reopen ( )
inlineoverridevirtual

Implements openvpn::LogSetup.

Definition at line 43 of file daemon.hpp.

Member Data Documentation

◆ combine_out_err_

const bool openvpn::LogReopen::combine_out_err_
private

Definition at line 65 of file daemon.hpp.

◆ log_fn_

const std::string openvpn::LogReopen::log_fn_
private

Definition at line 64 of file daemon.hpp.


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