Kylin/UnitTest/Universal/BoostLogTest.cpp
2024-09-04 12:28:49 +08:00

8 lines
231 B
C++

#include "BoostLog.h"
#include <boost/test/unit_test.hpp>
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);
}