Mercurial > might-and-magic-trilogy
diff Log.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Log.h Fri Oct 05 16:07:14 2012 +0200 @@ -0,0 +1,11 @@ +#pragma once + + +#define LOG_DECOMPILATION_WARNING() Log::Warning(L"%S [%S:%u]", __FUNCTION__, __FILE__, __LINE__); + +class Log +{ + public: + static void Initialize(); + static void Warning(const wchar_t *pFormat, ...); +}; \ No newline at end of file