Added trailing whitespace after each <<() to adopt qDebug() behaviour
authorSebastian Goth <seezer@roath.org>
Tue, 29 Jul 2008 12:39:39 +0000 (14:39 +0200)
committerSebastian Goth <seezer@roath.org>
Wed, 30 Jul 2008 09:25:01 +0000 (11:25 +0200)
src/common/logger.h

index 113fc56..f5a6ff5 100644 (file)
@@ -40,9 +40,9 @@ class Logger {
     ~Logger();
 
     template<typename T>
-    inline Logger &operator<<(const T &value) { _stream << value; return *this; }
-    inline Logger &operator<<(const QStringList & t) { _stream << t.join(" "); return *this; }
-    inline Logger &operator<<(bool t) { _stream << (t ? "true" : "false"); return *this; }
+    inline Logger &operator<<(const T &value) { _stream << value << " "; return *this; }
+    inline Logger &operator<<(const QStringList & t) { _stream << t.join(" ") << " "; return *this; }
+    inline Logger &operator<<(bool t) { _stream << (t ? "true" : "false") << " "; return *this; }
 
   private:
     void log();