summaryrefslogtreecommitdiffstats
path: root/elog_entry.cpp
diff options
context:
space:
mode:
authorAdriana Kobylak <anoo@us.ibm.com>2017-01-24 12:30:15 -0600
committerAdriana Kobylak <anoo@us.ibm.com>2017-01-30 12:57:25 -0600
commit88d7cf8da4a7213e4f91d3eca35ec6a2fd8f9ca0 (patch)
tree9d3a907abd251debf41c1af553c69badb67e34b5 /elog_entry.cpp
parent7298dc2320ff8b18b16acfb66a06c328c786dd87 (diff)
downloadphosphor-logging-88d7cf8da4a7213e4f91d3eca35ec6a2fd8f9ca0.tar.gz
phosphor-logging-88d7cf8da4a7213e4f91d3eca35ec6a2fd8f9ca0.zip
logging: Create Entry dbus interface
Implement the generated code to create an error/event entry dbus object. Change-Id: I881636fe3e8de680d9a15fff1fe933d5e22eed06 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'elog_entry.cpp')
-rw-r--r--elog_entry.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/elog_entry.cpp b/elog_entry.cpp
new file mode 100644
index 0000000..d869056
--- /dev/null
+++ b/elog_entry.cpp
@@ -0,0 +1,18 @@
+#include <cstdio>
+#include "elog_entry.hpp"
+
+namespace phosphor
+{
+namespace logging
+{
+
+Entry::Entry(sdbusplus::bus::bus& bus, const char* obj) :
+ details::ServerObject<details::EntryIface>(bus, obj)
+{
+ // TODO Add logic to populate error log dbus objects that exist on flash
+}
+
+// TODO Add interfaces to handle the error log id numbering
+
+} // namespace logging
+} // namepsace phosphor
OpenPOWER on IntegriCloud