Add phosphor-logging

This commit adds phosphor-logging (lg2) to eStorageD. It also adds
several logging statements.

Signed-off-by: John Edward Broadbent <jebr@google.com>
Change-Id: Ideb4f6033b94dd8b1384c79cd3a26ce89e7b2c4c
diff --git a/src/main.cpp b/src/main.cpp
index 9fa9c7d..318ecda 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -3,6 +3,7 @@
 
 #include <unistd.h>
 
+#include <phosphor-logging/lg2.hpp>
 #include <sdbusplus/bus.hpp>
 
 #include <filesystem>
@@ -69,8 +70,9 @@
     /* Create an eStoraged object. */
     estoraged::eStoraged esObject{b, path.c_str(), physicalBlockDev,
                                   containerBlockDev};
-
-    std::cerr << "eStoraged has started" << std::endl;
+    std::string msg = "OpenBMC.1.0.ServiceStarted";
+    lg2::info("Storage management service is running", "REDFISH_MESSAGE_ID",
+              msg);
 
     while (true)
     {