From 164bf99fef53fe500f8f4759f5588b1cbe9323e7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 5 Oct 2015 22:50:58 -0700 Subject: 2253 - start reorganizing traces --- 003trace.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to '003trace.cc') diff --git a/003trace.cc b/003trace.cc index f2045fd6..43789954 100644 --- a/003trace.cc +++ b/003trace.cc @@ -101,7 +101,6 @@ struct trace_stream { ostringstream* curr_stream; string curr_layer; int curr_depth; - string dump_layer; set collect_layers; // if not empty, ignore all absent layers ofstream null_stream; // never opens a file, so writes silently fail trace_stream() :curr_stream(NULL), curr_depth(0) {} @@ -133,8 +132,7 @@ struct trace_stream { string curr_contents = curr_stream->str(); if (curr_contents.empty()) return; past_lines.push_back(trace_line(curr_depth, trim(curr_layer), curr_contents)); // preserve indent in contents - if (curr_layer == dump_layer || curr_layer == "dump" || dump_layer == "all" || - (!Hide_warnings && curr_layer == "warn")) + if (!Hide_warnings && curr_layer == "warn") cerr << curr_layer << ": " << curr_contents << '\n'; delete curr_stream; curr_stream = NULL; -- cgit 1.4.1-2-gfad0