MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / SetLogLevel

Method SetLogLevel

src/log/logfilter.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27
28void EventFilter::SetLogLevel(const uint32_t loglev)
29{
30 if (loglev > 6)
31 {
32 throw LogException("Invalid log level");
33 }
34 log_level = loglev;
35}
36
37
38uint32_t EventFilter::GetLogLevel() const noexcept

Callers 7

ProxyLogEventsMethod · 0.45
logger_serviceFunction · 0.45
ServiceHandlerMethod · 0.45
cmd_propsFunction · 0.45
cmd_sendFunction · 0.45
AWSObjectMethod · 0.45
HandlerMethod · 0.45

Calls 1

LogExceptionClass · 0.85

Tested by 2

cmd_propsFunction · 0.36
cmd_sendFunction · 0.36