convert storageaddsel.cpp to use lg2

Signed-off-by: George Liu <liuxiwei@ieisystem.com>
Change-Id: Id1a0515fecab74ff4dbb98d6a6bd47fe8b8e1558
diff --git a/storageaddsel.cpp b/storageaddsel.cpp
index 34e839e..79064dd 100644
--- a/storageaddsel.cpp
+++ b/storageaddsel.cpp
@@ -8,6 +8,7 @@
 #include <ipmid/types.hpp>
 #include <phosphor-logging/elog-errors.hpp>
 #include <phosphor-logging/elog.hpp>
+#include <phosphor-logging/lg2.hpp>
 #include <xyz/openbmc_project/Logging/Entry/server.hpp>
 
 #include <algorithm>
@@ -29,7 +30,8 @@
 
     if (handle.fail())
     {
-        log<level::ERR>("Failed to open eSEL", entry("FILENAME=%s", fileName));
+        lg2::error("Failed to open eSEL, file name: {FILENAME}", "FILENAME",
+                   fileName);
         return content;
     }