# log **Repository Path**: lang4/log ## Basic Information - **Project Name**: log - **Description**: 简单的日志系统 完成基础的文件打印机制 - **Primary Language**: C++ - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-07 - **Last Updated**: 2025-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ``` c++ #include "log.hpp" int main() { theLOG->enableFile("./log", "test.log"); // 设置文件输出目录 LOG_INFO_STREAM << "hello,world33"; LogI("%s", "hello,log system"); std::string info; info.push_back(0x12); info.push_back(0x35); info.push_back(0x55); theLOG->log(simplelogger::LOGGER_DEBUG, "string:{} hex:{HEX} {}", "my test for variable values", info, 100.0); return 0; } ```