Attention handler trace message refactor

Signed-off-by: austinfcui <austinfcui@gmail.com>
Change-Id: If86af8fb88b0ce15f6a626676a412a5cee88acc0
diff --git a/attn/vital_handler.cpp b/attn/vital_handler.cpp
index 4d4b0ce..ae7aaa0 100644
--- a/attn/vital_handler.cpp
+++ b/attn/vital_handler.cpp
@@ -4,6 +4,7 @@
 #include <attn/attn_logging.hpp>
 #include <sdbusplus/bus.hpp>
 #include <util/dbus.hpp>
+#include <util/trace.hpp>
 
 namespace attn
 {
@@ -19,12 +20,12 @@
 {
     int rc = RC_SUCCESS; // assume vital handled
 
-    trace<level::INFO>("vital handler started");
+    trace::inf("vital handler started");
 
     // if vital handling enabled, handle vital attention
     if (false == (i_attention->getConfig()->getFlag(enVital)))
     {
-        trace<level::INFO>("vital handling disabled");
+        trace::inf("vital handling disabled");
         rc = RC_NOT_HANDLED;
     }
     else