* 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
| 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 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected