OpenVPN 3 Core Library
Loading...
Searching...
No Matches
logsimple.hpp File Reference
#include <iostream>
Include dependency graph for logsimple.hpp:

Go to the source code of this file.

Macros

#define OPENVPN_LOG_STREAM   std::cout
 
#define OPENVPN_LOG(args)   OPENVPN_LOG_STREAM << args << std::endl
 
#define OPENVPN_LOG_NTNL(args)   OPENVPN_LOG_STREAM << args << std::flush
 
#define OPENVPN_LOG_STRING(str)   OPENVPN_LOG_STREAM << (str) << std::flush
 

Macro Definition Documentation

◆ OPENVPN_LOG

#define OPENVPN_LOG (   args)    OPENVPN_LOG_STREAM << args << std::endl

Definition at line 22 of file logsimple.hpp.

◆ OPENVPN_LOG_NTNL

#define OPENVPN_LOG_NTNL (   args)    OPENVPN_LOG_STREAM << args << std::flush

Definition at line 25 of file logsimple.hpp.

◆ OPENVPN_LOG_STREAM

#define OPENVPN_LOG_STREAM   std::cout

Definition at line 19 of file logsimple.hpp.

◆ OPENVPN_LOG_STRING

#define OPENVPN_LOG_STRING (   str)    OPENVPN_LOG_STREAM << (str) << std::flush

Definition at line 27 of file logsimple.hpp.