#include "iLog.h" #include #include namespace LogCTest { // ../output_files/test/bin/LogCTest --gtest_filter=LogCTest.Demo TEST(LogCTest, Demo) { create_log_module(); i_log_init(); LogInfo("hello world."); LogError("create ... failed."); LogDebug("a = %d b = %s", 124, "apple"); i_log_unInit(); destroy_log_module(); } }