Use Logger instance in manager main()

This commit changes log message API calls in vpd-manager's main method
to use Logger instance. vpd-manager main method is the point where all
the important classes in the repo are initialized, hence Logger should
also get initialized here.

Change-Id: I28d5bbedbe60b919c328fdfc82c89a5e671aeb0f
Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
diff --git a/vpd-manager/src/manager_main.cpp b/vpd-manager/src/manager_main.cpp
index 11c2d0b..47245a4 100644
--- a/vpd-manager/src/manager_main.cpp
+++ b/vpd-manager/src/manager_main.cpp
@@ -43,7 +43,8 @@
         interface->initialize();
         progressInf->initialize();
 
-        vpd::logging::logMessage("Start VPD-Manager event loop");
+        vpd::Logger::getLoggerInstance()->logMessage(
+            "Start VPD-Manager event loop");
 
         // Grab the bus name
         connection->request_name(BUSNAME);
@@ -55,7 +56,8 @@
     }
     catch (const std::exception& l_ex)
     {
-        vpd::logging::logMessage("VPD-Manager service failed to start.");
+        vpd::Logger::getLoggerInstance()->logMessage(
+            "VPD-Manager service failed to start.");
         vpd::EventLogger::createSyncPel(
             vpd::EventLogger::getErrorType(l_ex),
             vpd::types::SeverityType::Critical, __FILE__, __FUNCTION__, 0,