Kylin/UnitTest/Universal/BoostLogTest.cpp

8 lines
231 B
C++
Raw Normal View History

2023-12-27 10:29:16 +08:00
#include "BoostLog.h"
#include <boost/test/unit_test.hpp>
BOOST_AUTO_TEST_CASE(BoostLogTest) {
boost::log::initialize();
LOG(info) << "this is a test output.";
2024-09-04 12:28:49 +08:00
LOG_FORMAT(info, "i am %s, %d years old.", "amass", 29);
2023-12-27 10:29:16 +08:00
}