| | |
| | | // 유니코드 파일의 시작은 BOM(0xFEFF) 이어야 한다. |
| | | TCHAR strCommand = 0xFEFF; |
| | | CString strLog = _T(""); |
| | | strTimeStamp.Format(_T("[%02d:%02d:%02d]"), time.GetHour(), time.GetMinute(), time.GetSecond()); |
| | | //strTimeStamp.Format(_T("[%02d:%02d:%02d]"), time.GetHour(), time.GetMinute(), time.GetSecond()); |
| | | strTimeStamp.Format(_T("[%02d:%02d:%02d:%02d:%02d:%02d]"), time.GetYear(), time.GetMonth(), time.GetDay(), time.GetHour(), time.GetMinute(), time.GetSecond()); |
| | | #ifdef UNICODE |
| | | strLog.Format(_T("%c%s %s\r\n"), strCommand, strTimeStamp, strMessage); |
| | | #else |