OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::logging Namespace Reference

Classes

class  Logger
 
class  LoggingMixin
 

Variables

constexpr int LOG_LEVEL_ERROR = 0
 
constexpr int LOG_LEVEL_INFO = 1
 
constexpr int LOG_LEVEL_VERB = 2
 
constexpr int LOG_LEVEL_DEBUG = 3
 
constexpr int LOG_LEVEL_TRACE = 4
 

Variable Documentation

◆ LOG_LEVEL_DEBUG

constexpr int openvpn::logging::LOG_LEVEL_DEBUG = 3
constexpr

debug log message priority. Only messages that are useful for a debugging a feature should fall into this category

Definition at line 26 of file logger.hpp.

◆ LOG_LEVEL_ERROR

constexpr int openvpn::logging::LOG_LEVEL_ERROR = 0
constexpr

log message level with the highest priority. Critical messages that should always be shown are in this category

Definition at line 18 of file logger.hpp.

◆ LOG_LEVEL_INFO

constexpr int openvpn::logging::LOG_LEVEL_INFO = 1
constexpr

log message level with high/normal priority. These are messages that are shown in normal operation

Definition at line 20 of file logger.hpp.

◆ LOG_LEVEL_TRACE

constexpr int openvpn::logging::LOG_LEVEL_TRACE = 4
constexpr

trace log message priority. Message that are normally even considered too verbose for the debug level priority belong to this category. Messages that are otherwise often commented out in the code, belong here.

Definition at line 29 of file logger.hpp.

◆ LOG_LEVEL_VERB

constexpr int openvpn::logging::LOG_LEVEL_VERB = 2
constexpr

log message with verbose priority. These are still part of normal operation when higher logging verbosity is requested

Definition at line 23 of file logger.hpp.