core/CLogger.h
changeset 280 f2a82da2facc
parent 274 959c85596341
child 281 830ca16e6d84
     1.1 --- a/core/CLogger.h	Sun Jan 07 08:55:02 2007 +0000
     1.2 +++ b/core/CLogger.h	Wed Jan 10 23:49:22 2007 +0000
     1.3 @@ -35,8 +35,8 @@
     1.4  	void LogMessage(const char *msg, ...);
     1.5  	void LogError(const char *msg, ...);
     1.6  	void MapChange(const char *mapname);
     1.7 -	const char *GetLogFileName(LogType type);
     1.8 -	LoggingMode GetLoggingMode();
     1.9 +	const char *GetLogFileName(LogType type) const;
    1.10 +	LoggingMode GetLoggingMode() const;
    1.11  private:
    1.12  	void _CloseFile();
    1.13  	void _NewMapFile();
    1.14 @@ -55,7 +55,7 @@
    1.15  
    1.16  extern CLogger g_Logger;
    1.17  
    1.18 -inline const char *CLogger::GetLogFileName(LogType type)
    1.19 +inline const char *CLogger::GetLogFileName(LogType type) const
    1.20  {
    1.21  	switch (type)
    1.22  	{
    1.23 @@ -74,7 +74,7 @@
    1.24  	}
    1.25  }
    1.26  
    1.27 -inline LoggingMode CLogger::GetLoggingMode()
    1.28 +inline LoggingMode CLogger::GetLoggingMode() const
    1.29  {
    1.30  	return m_mode;
    1.31  }