Add host error event monitor

Add host error event monitor to record event found by host-error-monitor
and then add IPMI SEL record to journal.

Tested:
Test with the following PRs:
https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59127
https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59129
https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59130

Trigger host error and check result in "ipmitool sel" is as expected.

Signed-off-by: JinFuLin <JeffLin2@quantatw.com>
Change-Id: I72a49d62d9c3c4248ed8d748aebe2c8171221078
diff --git a/src/sel_logger.cpp b/src/sel_logger.cpp
index 29cbd46..6798682 100644
--- a/src/sel_logger.cpp
+++ b/src/sel_logger.cpp
@@ -27,6 +27,9 @@
 #ifdef SEL_LOGGER_MONITOR_THRESHOLD_ALARM_EVENTS
 #include <threshold_alarm_event_monitor.hpp>
 #endif
+#ifdef SEL_LOGGER_MONITOR_HOST_ERROR_EVENTS
+#include <host_error_event_monitor.hpp>
+#endif
 
 #include <filesystem>
 #include <fstream>
@@ -305,6 +308,10 @@
 #ifdef SEL_LOGGER_MONITOR_THRESHOLD_ALARM_EVENTS
     startThresholdAlarmMonitor(conn);
 #endif
+
+#ifdef SEL_LOGGER_MONITOR_HOST_ERROR_EVENTS
+    startHostErrorEventMonitor(conn);
+#endif
     io.run();
 
     return 0;