diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-07-20 09:33:22 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-09-15 16:14:19 +0200 |
commit | 993a9eadb30c55bbb764a1fc123c5dfbb502b1f1 (patch) | |
tree | 73c9bad0e7c9ce88024a3208bddffd7928462b35 /sinksh/syntax_modules | |
parent | dc6bc885b70d8dbada622c22f8d620084b798648 (diff) | |
download | sink-993a9eadb30c55bbb764a1fc123c5dfbb502b1f1.tar.gz sink-993a9eadb30c55bbb764a1fc123c5dfbb502b1f1.zip |
sinksh trace off should clear the filter
Diffstat (limited to 'sinksh/syntax_modules')
-rw-r--r-- | sinksh/syntax_modules/sink_trace.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sinksh/syntax_modules/sink_trace.cpp b/sinksh/syntax_modules/sink_trace.cpp index 8bd52a0..ed5e2d8 100644 --- a/sinksh/syntax_modules/sink_trace.cpp +++ b/sinksh/syntax_modules/sink_trace.cpp | |||
@@ -38,6 +38,7 @@ namespace SinkTrace | |||
38 | 38 | ||
39 | bool traceOff(const QStringList &args, State &state) | 39 | bool traceOff(const QStringList &args, State &state) |
40 | { | 40 | { |
41 | Sink::Log::setDebugOutputFilter(Sink::Log::Area, QByteArrayList()); | ||
41 | Sink::Log::setDebugOutputLevel(Sink::Log::Log); | 42 | Sink::Log::setDebugOutputLevel(Sink::Log::Log); |
42 | std::cout << "Turned trace off." << std::endl; | 43 | std::cout << "Turned trace off." << std::endl; |
43 | return true; | 44 | return true; |