summaryrefslogtreecommitdiffstats
path: root/common/log.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-05 16:48:32 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-05 16:48:32 +0100
commitaa6152901c01454758d270c65d99619ce61b1d75 (patch)
tree629ad05d1ce4ac3f155e4d9e42d3c497ee531993 /common/log.cpp
parentc2c528f9a7c0e5af840d7c142b47c9436bed4eac (diff)
downloadsink-aa6152901c01454758d270c65d99619ce61b1d75.tar.gz
sink-aa6152901c01454758d270c65d99619ce61b1d75.zip
Do use spaces and quotes on all messages.
Diffstat (limited to 'common/log.cpp')
-rw-r--r--common/log.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/log.cpp b/common/log.cpp
index 4606e67..96c6f82 100644
--- a/common/log.cpp
+++ b/common/log.cpp
@@ -293,12 +293,12 @@ QDebug Sink::Log::debugStream(DebugLevel debugLevel, int line, const char* file,
293 if (multiline) { 293 if (multiline) {
294 output += "\n "; 294 output += "\n ";
295 } 295 }
296 output += ": "; 296 output += ":";
297 297
298 static DebugStream stream; 298 static DebugStream stream;
299 QDebug debug(&stream); 299 QDebug debug(&stream);
300 300
301 debug.noquote().nospace() << output; 301 debug.noquote().nospace() << output;
302 302
303 return debug; 303 return debug.space().quote();
304} 304}