From b36e6fc00b53e2e40aa56db28ac58b3aef6ac102 Mon Sep 17 00:00:00 2001 From: Yao Chunli <56721587@qq.com> Date: 星期四, 12 五月 2022 16:01:31 +0800 Subject: [PATCH] Merge branch 'dev1' of http://3u015c326.zicp.vip:8111/r/MultiTerminal1 into dev1 --- MyLib/LOGGER/Logger.hpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MyLib/LOGGER/Logger.hpp b/MyLib/LOGGER/Logger.hpp index 26a9da2..f31eced 100644 --- a/MyLib/LOGGER/Logger.hpp +++ b/MyLib/LOGGER/Logger.hpp @@ -417,7 +417,7 @@ if (CLogFiles[channel].Open(LogFilePath,CFile::modeCreate|CFile::modeNoTruncate|CFile::modeReadWrite|CFile::shareDenyWrite,&e)) { CLogFiles[channel].SeekToEnd(); - sa1.Format("\r\n-< %s >------- <LogFileOpened> ===== \r\n",DateTimeStrA); + sa1.Format("\r\n-< %s >------- <LogFileOpened : %d > ===== \r\n",DateTimeStrA,channel); CLogFiles[channel].Write(sa1.GetString(),sa1.GetLength()); LogFilesOpened[channel]=1; } @@ -481,7 +481,7 @@ } return false; } - int UpdateLogDisplay(int channel) + int UpdateLogDisplay(int channel=0) { int i,j,k; if (channel<0 || channel >= MAXLOGFILE) -- Gitblit v1.9.1