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>
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