|
@@ -87,7 +87,10 @@ void EnableWriteLog(bool bEnable)
|
|
|
void SetCaselogPath(LPCTSTR lpCaselogPath)
|
|
|
{
|
|
|
if ( lpCaselogPath == NULL || lpCaselogPath[0] == '\0')
|
|
|
+ {
|
|
|
+ Global::WriteTextLog(_T("日志路径无效"));
|
|
|
return;
|
|
|
+ }
|
|
|
|
|
|
Global::WriteTextLog(_T("设置日志路径:%s"), lpCaselogPath);
|
|
|
_stprintf_s(Global::g_szLogPath, _T("%s"), lpCaselogPath);
|