From 5e978069b6a180f21932bf48db02b12fe9c92a72 Mon Sep 17 00:00:00 2001 From: binbinnomoney <1749303514@qq.com> Date: Fri, 26 Jul 2024 23:02:56 +0800 Subject: [PATCH] =?UTF-8?q?Log=E5=8F=98=E9=A2=9C=E8=89=B2=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/utils/Log/src/ILogTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/utils/Log/src/ILogTest.cpp b/test/utils/Log/src/ILogTest.cpp index 91474bfa..143b14fa 100644 --- a/test/utils/Log/src/ILogTest.cpp +++ b/test/utils/Log/src/ILogTest.cpp @@ -39,7 +39,7 @@ namespace ILogTest */ - // 设置 INFO 级别的日志格式为蓝色 + // 设置 INFO 级别的日志格式为绿色 defaultConf.set(el::Level::Info, el::ConfigurationType::Format, "\x1b[32m%datetime %level %msg\x1b[0m"); @@ -81,7 +81,7 @@ namespace ILogTest // el::Loggers::reconfigureLogger("default", defaultConf); // 使用easylogging++的日志宏 - LOG(INFO) << "hello world......."; + LOG(INFO) << "hello world."; LOG(ERROR) << "create ... failed."; LOG(DEBUG) << "a = " << 124 << " b = " << "apple";