AnimatLab  2
Test
XYTrace.h
1 #ifndef XY_TRACE_H
2 #define XY_TRACE_H
3 
4 #ifdef WIN32
5  #include <windows.h>
6  #include <tchar.h>
7 #endif
8 
9 #include <stdio.h>
10 
11 namespace StdUtils
12 {
13 
14 enum TraceLevel
15 {
16  TraceNone = 0, // no trace
17  TraceError = 10, // only trace error
18  TraceInfo = 20, // some extra info
19  TraceDebug = 30, // debugging info
20  TraceDetail = 40 // detailed debugging info
21 };
22 
23 extern void SetTraceFilePrefix(LPCTSTR strFilePrefix);
24 extern std::string GetTraceFilePrefix();
25 extern void SetTraceLevel(const int nLevel);
26 extern int GetTraceLevel();
27 //extern void Std_Log(const int nLevel, LPCTSTR strFormat, ...);
28 
29 } //StdUtils
30 
31 #endif // XY_TRACE_H
Namespace for the standard utility objects.
Definition: MarkupSTL.cpp:19