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

Method Create

src/log/core-dbus-logger.cpp:43–57  ·  view source on GitHub ↗

* Initializes the Core library D-Bus logging * * @param dbuscon DBus::Connection where to send Log signals * @param path String containing the sending D-Bus path * @param interface String containing the interface messages will be * tagged with * @param lgrp LogGroup to use when sending log events * @param logwr LogWriter object t

Source from the content-addressed store, hash-verified

41 * @param logwr LogWriter object to handle local logging
42 */
43 [[nodiscard]] static DBusLogger::Ptr Create(
44 DBus::Connection::Ptr dbuscon,
45 const std::string &path,
46 const std::string &interface,
47 const LogGroup lgrp,
48 const std::string session_token,
49 LogWriter *logwr)
50 {
51 return Ptr(new DBusLogger(dbuscon,
52 path,
53 interface,
54 lgrp,
55 session_token,
56 logwr));
57 }
58
59
60 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected