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

Method GetLastLogEvent

src/sessionmgr/proxy-sessionmgr.hpp:344–350  ·  view source on GitHub ↗

* Retrieve the last log event which has been saved * * @return Returns a populated struct LogEvent with the the complete log * event. */

Source from the content-addressed store, hash-verified

342 * event.
343 */
344 const Events::Log GetLastLogEvent()
345 {
346 GVariant *logev = proxy->GetPropertyGVariant(target, "last_log");
347 auto ret = Events::ParseLog(logev);
348 g_variant_unref(logev);
349 return ret;
350 }
351
352
353 /**

Callers 1

SessionMethod · 0.45

Calls 1

ParseLogFunction · 0.85

Tested by

no test coverage detected