Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
24 lines
350 B
C++
24 lines
350 B
C++
#ifndef _GAMA_STD_LOG_H_
|
|
#define _GAMA_STD_LOG_H_
|
|
|
|
#include <cstdio>
|
|
|
|
class CLog
|
|
{
|
|
public:
|
|
|
|
CLog();
|
|
~CLog();
|
|
|
|
bool RedirectStdErr(const char* szFileName);
|
|
bool RedirectStdOut(const char* szFileName);
|
|
|
|
private:
|
|
|
|
bool MakeFileName(const char* szFileName, char* szLogFileName);
|
|
|
|
FILE* m_stdout;
|
|
FILE* m_stderr;
|
|
};
|
|
|
|
#endif |