redfish: Give DBus event logging its own classes

Since the DBus implementation of event logging is
completely different than the journal implementation,
moved it to its own class to be consistent.

Tested: Verified both implementations work the same
as before the class split.

Change-Id: I95e3b837f9d99b78034695545ab5791386d94a13
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 8cb9e01..718b082 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -82,8 +82,9 @@
         nodes.emplace_back(std::make_unique<SystemLogServiceCollection>(app));
         nodes.emplace_back(std::make_unique<EventLogService>(app));
         nodes.emplace_back(std::make_unique<EventLogClear>(app));
+#ifndef BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES
         nodes.emplace_back(std::make_unique<EventLogEntryCollection>(app));
-        nodes.emplace_back(std::make_unique<EventLogEntry>(app));
+#endif
 
         nodes.emplace_back(std::make_unique<BMCLogServiceCollection>(app));
 #ifdef BMCWEB_ENABLE_REDFISH_BMC_JOURNAL
@@ -112,6 +113,8 @@
         nodes.emplace_back(std::make_unique<SystemActionsReset>(app));
 #ifdef BMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES
         nodes.emplace_back(std::make_unique<DBusLogServiceActionsClear>(app));
+        nodes.emplace_back(std::make_unique<DBusEventLogEntryCollection>(app));
+        nodes.emplace_back(std::make_unique<DBusEventLogEntry>(app));
 #endif
 
         nodes.emplace_back(