Minor changes in the code

- fix a typo in README and wrap file.
- refactoring lg2 errorlog usage.

Change-Id: I3b55b86a505405f02fe70429a266c467b87b17ff
Signed-off-by: Pavithra Barithaya <pavithra.b@ibm.com>
diff --git a/manager.cpp b/manager.cpp
index 88406f4..169fb30 100644
--- a/manager.cpp
+++ b/manager.cpp
@@ -22,6 +22,8 @@
 namespace time
 {
 
+PHOSPHOR_LOG2_USING;
+
 Manager::Manager(sdbusplus::bus_t& bus) : bus(bus), settings(bus)
 {
     using namespace sdbusplus::bus::match::rules;
@@ -79,11 +81,11 @@
                                      // 'false' meaning no policy-kit
 
         bus.call_noreply(method);
-        lg2::info("Updated NTP setting: {ENABLED}", "ENABLED", isNtp);
+        info("Updated NTP setting: {ENABLED}", "ENABLED", isNtp);
     }
     catch (const sdbusplus::exception_t& ex)
     {
-        lg2::error("Failed to update NTP setting: {ERROR}", "ERROR", ex);
+        error("Failed to update NTP setting: {ERROR}", "ERROR", ex);
     }
 }
 
@@ -94,14 +96,14 @@
         auto newMode = utils::strToMode(mode);
         if (newMode != timeMode)
         {
-            lg2::info("Time mode has been changed to {MODE}", "MODE", newMode);
+            info("Time mode has been changed to {MODE}", "MODE", newMode);
             timeMode = newMode;
             return true;
         }
     }
     catch (const sdbusplus::exception_t& ex)
     {
-        lg2::error("Failed to convert mode from string: {ERROR}", "ERROR", ex);
+        error("Failed to convert mode from string: {ERROR}", "ERROR", ex);
     }
 
     return false;
@@ -124,7 +126,7 @@
     }
     catch (const std::exception& ex)
     {
-        lg2::error(
+        error(
             "Failed to get property: {ERROR}, path: {PATH}, interface: {INTERFACE}, name: {NAME}",
             "ERROR", ex, "PATH", path, "INTERFACE", interface, "NAME", setting);
         return {};