simplified, should work on linux too now

This commit is contained in:
Pavol Marko
2004-07-13 16:17:38 +00:00
parent 60c6b1703d
commit 4003204ffe
2 changed files with 27 additions and 116 deletions

View File

@@ -31,19 +31,11 @@
#ifndef __AMXXLOG_H__
#define __AMXXLOG_H__
// Reopen file on log
// 0: No, only flush
// 1: Yes, complete reopen
#define REOPEN_ON_LOG 0
class CLog
{
private:
String m_LogFile;
int m_LogType;
#if REOPEN_ON_LOG == 0
FILE *m_pFile;
#endif
void GetLastFile(int &outMonth, int &outDay, String &outFilename);
void UseFile(const String &fileName);