| | |
| | | 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;
|
| | | }
|
| | |
| | | }
|
| | | return false;
|
| | | }
|
| | | int UpdateLogDisplay(int channel)
|
| | | int UpdateLogDisplay(int channel=0)
|
| | | {
|
| | | int i,j,k;
|
| | | if (channel<0 || channel >= MAXLOGFILE)
|