Replace boost::lexical_cast logs with lg2

Replaced instances of string concatenation using boost::lexical_cast
for logging with lg2::debug. This removes Boost dependencies,
simplifies code, and improves readability and efficiency.

Change-Id: I05092187d83ffd7d8f9f84c00a3e91e0b9ad3f47
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/chassishandler.cpp b/chassishandler.cpp
index a0a91d2..b8f2f9a 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -1452,14 +1452,13 @@
 void enclosureIdentifyLed(bool flag)
 {
     using namespace chassis::internal;
+
+    std::string connection = getEnclosureIdentifyConnection();
+
+    lg2::debug("enclosureIdentifyLed({FLAG})", "FLAG", flag);
+
     try
     {
-        std::string connection = getEnclosureIdentifyConnection();
-
-        auto msg = std::string("enclosureIdentifyLed(") +
-                   boost::lexical_cast<std::string>(flag) + ")";
-        lg2::debug(msg.c_str());
-
         ipmi::setDbusProperty(*getSdBus(), connection, identify_led_object_name,
                               "xyz.openbmc_project.Led.Group", "Asserted",
                               flag);