From 326d3e312c74726814c39c9d112faab03c4a167c Mon Sep 17 00:00:00 2001
From: QuakeGod <QuakeGod@sina.com>
Date: 星期日, 16 一月 2022 13:53:57 +0800
Subject: [PATCH] add status show function dialog

---
 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