X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcommon%2Flogger.h;h=f5a6ff59af12b2864ab4bb66027707f75a5b26a9;hp=c372a11c1aa782316967613e980b6112e8b52853;hb=1eb21546673535f5707aa6346e8c749b928cd772;hpb=c9b7f5cfe4377cc242c24212fff48aad70192b48 diff --git a/src/common/logger.h b/src/common/logger.h index c372a11c..f5a6ff59 100644 --- a/src/common/logger.h +++ b/src/common/logger.h @@ -40,10 +40,9 @@ class Logger { ~Logger(); template - inline Logger &operator<<(const T &value) { _stream << value; return *this; } - inline Logger &operator<<(const QStringList & t) { _stream << t.join(" "); return *this; } - inline Logger &operator<<(const char* t) { _stream << QString::fromLocal8Bit(t); 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();