diff options
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -69,5 +69,10 @@ extern std::ostream actionstream; extern std::ostream infostream; extern std::ostream verbosestream; +extern bool log_trace_level_enabled; + +#define TRACESTREAM(x){ if(log_trace_level_enabled) verbosestream x; } +#define TRACEDO(x){ if(log_trace_level_enabled){ x ;} } + #endif |