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

Method GetLogLevel

src/log/proxy-log.hpp:349–356  ·  view source on GitHub ↗

* Retrieve the current log level (verbosity) of the log service. This * is a global setting for all subscriptions. * * @return Returns an unsigned int of the log level (0-6). */

Source from the content-addressed store, hash-verified

347 * @return Returns an unsigned int of the log level (0-6).
348 */
349 unsigned int GetLogLevel(const bool oldval = false) const
350 {
351 if (oldval && CheckChange(Changed::LOGLEVEL))
352 {
353 return old_loglev;
354 }
355 return logservice->GetProperty<uint32_t>(logtarget, "log_level");
356 }
357
358
359 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected