All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
trace.h
Go to the documentation of this file.
1 /* trace.h
2  */
3 #ifndef OSL_TRACE_H
4 #define OSL_TRACE_H
5 
6 // #define OSL_STATIC_INITIALIZER_TRACE
7 
8 #ifdef OSL_STATIC_INITIALIZER_TRACE
9 # include <iostream>
10 #endif
11 
12 namespace osl
13 {
14 namespace misc
15 {
17  {
18  StaticInitializeTracer(const char *filename);
19  };
20 } // namespace misc
21 } // namespace osl
22 
23 #define OSL_TRACE static osl::misc::StaticInitializeTracer tracer( __FILE__)
24 
25 #endif /* OSL_TRACE_H */
26 // ;;; Local Variables:
27 // ;;; mode:c++
28 // ;;; c-basic-offset:2
29 // ;;; End: