diff --git a/UnitTest/Universal/BoostLogTest.cpp b/UnitTest/Universal/BoostLogTest.cpp index c0e13ec..db90268 100644 --- a/UnitTest/Universal/BoostLogTest.cpp +++ b/UnitTest/Universal/BoostLogTest.cpp @@ -4,4 +4,5 @@ BOOST_AUTO_TEST_CASE(BoostLogTest) { boost::log::initialize(); LOG(info) << "this is a test output."; + LOG_FORMAT(info, "i am %s, %d years old.", "amass", 29); } \ No newline at end of file diff --git a/Universal/BoostLog.h b/Universal/BoostLog.h index 195fcf7..26ca617 100644 --- a/Universal/BoostLog.h +++ b/Universal/BoostLog.h @@ -216,6 +216,12 @@ BOOST_LOG_GLOBAL_LOGGER(location_logger, LocationLogger