Files
LGram16 dd97ddec92 Restructure repository to include all source folders
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>
2025-11-29 20:17:20 +09:00

43 lines
612 B
C++

// Log.cpp : ±¸Çö ÆÄÀÏÀÔ´Ï´Ù.
//
#include "stdafx.h"
#include "GameDBTool.h"
#include "Log.h"
// CLog
IMPLEMENT_DYNAMIC(CLog, CListBox)
CLog::CLog()
{
}
CLog::~CLog()
{
}
BEGIN_MESSAGE_MAP(CLog, CListBox)
END_MESSAGE_MAP()
bool CLog::LogPrint(const char *Format_In, ...)
{
char LogString[256];
char Text[256];
SYSTEMTIME SysTime;
if(Format_In == NULL)
return false;
vsprintf(Text, Format_In, (char *)((&Format_In) + 1));
GetLocalTime(&SysTime);
sprintf(LogString, "[%02d:%02d:%02d] %s", SysTime.wHour, SysTime.wMinute, SysTime.wSecond, Text);
InsertString(0, LogString);
return true;
}