logging: switch phosphor-network-manager exe to lg2

Tested: Build passes with "ninja -C build".
Change-Id: Ib02682393aba65b16f55eece58ecf50321190a56
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
diff --git a/src/network_manager_main.cpp b/src/network_manager_main.cpp
index ae60232..3669429 100644
--- a/src/network_manager_main.cpp
+++ b/src/network_manager_main.cpp
@@ -10,7 +10,7 @@
 #include <fmt/format.h>
 
 #include <chrono>
-#include <phosphor-logging/log.hpp>
+#include <phosphor-logging/lg2.hpp>
 #include <sdbusplus/bus.hpp>
 #include <sdbusplus/server/manager.hpp>
 #include <sdeventplus/clock.hpp>
@@ -21,9 +21,6 @@
 #include <stdplus/pinned.hpp>
 #include <stdplus/signal.hpp>
 
-using phosphor::logging::level;
-using phosphor::logging::log;
-
 constexpr char DEFAULT_OBJPATH[] = "/xyz/openbmc_project/network";
 
 namespace phosphor::network
@@ -57,7 +54,7 @@
 
 void termCb(sdeventplus::source::Signal& signal, const struct signalfd_siginfo*)
 {
-    log<level::NOTICE>("Got TERM, exiting");
+    lg2::notice("Received request to terminate, exiting");
     signal.get_event().exit(0);
 }