Go to the documentation of this file.00001
00002
00003 #ifndef OSL_TRACE_H
00004 #define OSL_TRACE_H
00005
00006
00007
00008 #ifdef OSL_STATIC_INITIALIZER_TRACE
00009 # include <iostream>
00010 #endif
00011
00012 namespace osl
00013 {
00014 namespace misc
00015 {
00016 struct StaticInitializeTracer
00017 {
00018 StaticInitializeTracer(const char *filename);
00019 };
00020 }
00021 }
00022
00023 #define OSL_TRACE static osl::misc::StaticInitializeTracer tracer( __FILE__)
00024
00025 #endif
00026
00027
00028
00029