annotate Log.h @ 1165:29a8defbad9e

temporary _CRT_SECURE_NO_WARNINGS to remove some warnings removed double LOBYTE, LOWORD etd macro definitions swprintf called with string size parameter ErrD3D with too many params fix 1 or 2 other minor fixes
author Grumpy7
date Tue, 04 Jun 2013 03:21:21 +0200
parents 9c0607679772
children
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 #define LOG_DECOMPILATION_WARNING() Log::Warning(L"%S [%S:%u]", __FUNCTION__, __FILE__, __LINE__);
Ritor1
parents:
diff changeset
5
Ritor1
parents:
diff changeset
6 class Log
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 public:
Ritor1
parents:
diff changeset
9 static void Initialize();
Ritor1
parents:
diff changeset
10 static void Warning(const wchar_t *pFormat, ...);
Ritor1
parents:
diff changeset
11 };