Add fmtlib for phosphor-debug-collector

Call fmtlib to get additional information from journal.

Tested: built phosphor-debug-collector successfully
        and Unit Test passes.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ibe65637a0b29b76269fb4bc3f498438901c9306a
diff --git a/elog_watch.cpp b/elog_watch.cpp
index 764cd33..212171b 100644
--- a/elog_watch.cpp
+++ b/elog_watch.cpp
@@ -7,6 +7,8 @@
 #include "errors_map.hpp"
 #include "xyz/openbmc_project/Dump/Create/error.hpp"
 
+#include <fmt/core.h>
+
 #include <cereal/cereal.hpp>
 #include <phosphor-logging/elog.hpp>
 #include <sdbusplus/exception.hpp>
@@ -69,9 +71,11 @@
     }
     catch (const sdbusplus::exception::SdBusError& e)
     {
-        log<level::ERR>("Failed to parse elog add signal",
-                        entry("ERROR=%s", e.what()),
-                        entry("REPLY_SIG=%s", msg.get_signature()));
+        log<level::ERR>(
+            fmt::format(
+                "Failed to parse elog add signal, errormsg({}), REPLY_SIG({})",
+                e.what(), msg.get_signature())
+                .c_str());
         return;
     }
 
@@ -163,9 +167,11 @@
     }
     catch (const sdbusplus::exception::SdBusError& e)
     {
-        log<level::ERR>("Failed to parse elog del signal",
-                        entry("ERROR=%s", e.what()),
-                        entry("REPLY_SIG=%s", msg.get_signature()));
+        log<level::ERR>(
+            fmt::format(
+                "Failed to parse elog del signal, errormsg({}), REPLY_SIG({})",
+                e.what(), msg.get_signature())
+                .c_str());
         return;
     }