@@ -182,9 +182,10 @@ class Manager : public details::ServerObject<details::ManagerIface>
182
182
* Failure Data Capture). These will be passed to any
183
183
* event logging extensions.
184
184
*/
185
- void create (const std::string& message, Severity severity,
185
+ auto create (const std::string& message, Severity severity,
186
186
const std::map<std::string, std::string>& additionalData,
187
- const FFDCEntries& ffdc = FFDCEntries{});
187
+ const FFDCEntries& ffdc = FFDCEntries{})
188
+ -> sdbusplus::message::object_path;
188
189
189
190
/* * @brief Common wrapper for creating an Entry object
190
191
*
@@ -262,9 +263,10 @@ class Manager : public details::ServerObject<details::ManagerIface>
262
263
* @param[in] ffdc - A vector of FFDC file info. Defaults to an empty
263
264
* vector.
264
265
*/
265
- void createEntry (std::string errMsg, Entry::Level errLvl,
266
+ auto createEntry (std::string errMsg, Entry::Level errLvl,
266
267
std::vector<std::string> additionalData,
267
- const FFDCEntries& ffdc = FFDCEntries{});
268
+ const FFDCEntries& ffdc = FFDCEntries{})
269
+ -> sdbusplus::message::object_path;
268
270
269
271
/* * @brief Notified on entry property changes
270
272
*
@@ -362,10 +364,11 @@ class Manager : public details::ServerObject<DeleteAllIface, CreateIface>
362
364
* @param[in] severity - Level of the error
363
365
* @param[in] additionalData - The AdditionalData property for the error
364
366
*/
365
- void create (std::string message, Severity severity,
366
- std::map<std::string, std::string> additionalData) override
367
+ auto create (std::string message, Severity severity,
368
+ std::map<std::string, std::string> additionalData)
369
+ -> sdbusplus::message::object_path override
367
370
{
368
- manager.create (message, severity, additionalData);
371
+ return manager.create (message, severity, additionalData);
369
372
}
370
373
371
374
/* * @brief D-Bus method call implementation to create an event log with FFDC
0 commit comments