diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-04-04 09:39:35 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-04-04 09:39:35 -0700 |
commit | f2cafededd8d57237263fc7cb7d726ad1eacecd2 (patch) | |
tree | cf2a8a07c681dd647473109148b104789138aa0a /cpp/002trace | |
parent | 97f3bbacd9fec1d898d9ae147797b7164fb78833 (diff) | |
download | mu-f2cafededd8d57237263fc7cb7d726ad1eacecd2.tar.gz |
1017
Diffstat (limited to 'cpp/002trace')
-rw-r--r-- | cpp/002trace | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/002trace b/cpp/002trace index cd3498b4..4946517c 100644 --- a/cpp/002trace +++ b/cpp/002trace @@ -160,7 +160,7 @@ trace_stream* Trace_stream = NULL; #define trace(layer) !Trace_stream ? cerr /*print nothing*/ : Trace_stream->stream(layer) // Warnings should go straight to cerr by default since calls to trace() have // some unfriendly constraints (they delay printing, they can't nest) -#define raise ((!Trace_stream || !Hide_warnings) ? cerr /*do print*/ : Trace_stream->stream("warn")) << __FILE__ << ":" << __LINE__ << " " +#define raise ((!Trace_stream || !Hide_warnings) ? cerr /*do print*/ : Trace_stream->stream("warn")) // A separate helper for debugging. We should only trace domain-specific // facts. For everything else use log. |