From 49cab6105eccb35d8b18a12f8ea29c05a857471b Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期五, 12 九月 2025 11:11:19 +0800
Subject: [PATCH] 1. SG精度检文件字符集全部修改成UTF-8
---
SourceCode/Bond/SGMeasurement/Logger.h | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/SourceCode/Bond/SGMeasurement/Logger.h b/SourceCode/Bond/SGMeasurement/Logger.h
index aec95af..1649714 100644
--- a/SourceCode/Bond/SGMeasurement/Logger.h
+++ b/SourceCode/Bond/SGMeasurement/Logger.h
@@ -4,25 +4,25 @@
class CLogger
{
public:
- static CLogger& Instance(); // 获取单例
- void WriteLine(CString str); // 写一行日志
- void CloseLogFile(); // 关闭日志文件
+ static CLogger& Instance(); // 鑾峰彇鍗曚緥
+ void WriteLine(CString str); // 鍐欎竴琛屾棩蹇�
+ void CloseLogFile(); // 鍏抽棴鏃ュ織鏂囦欢
private:
- CLogger();
- ~CLogger();
- void OpenLogFile(); // 内部打开文件
+ CLogger();
+ ~CLogger();
+ void OpenLogFile(); // 鍐呴儴鎵撳紑鏂囦欢
- CCriticalSection m_csLogLock;
- CString m_strCurrentLogPath;
- CStdioFile m_logFile;
+ CCriticalSection m_csLogLock;
+ CString m_strCurrentLogPath;
+ CStdioFile m_logFile;
};
#define LOG_LINE(x) CLogger::Instance().WriteLine(x)
#define LOG_LINEF(fmt, ...) \
- do { \
- CString __log__; \
- __log__.Format(fmt, __VA_ARGS__); \
- CLogger::Instance().WriteLine(__log__); \
- } while (0)
\ No newline at end of file
+ do { \
+ CString __log__; \
+ __log__.Format(fmt, __VA_ARGS__); \
+ CLogger::Instance().WriteLine(__log__); \
+ } while (0)
\ No newline at end of file
--
Gitblit v1.9.3