X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FLog.hh;h=324fdeed8555b0c747c1fd8eecacae903496cac7;hp=c7736301fc679f6ede496933d0eccbc866d530e1;hb=4107dd30ca1a4c7d1a5cd6c0999b9afb5adff779;hpb=58c1f9a499d3bb80ea2869b29c714f61e656d48d diff --git a/src/Moof/Log.hh b/src/Moof/Log.hh index c773630..324fdee 100644 --- a/src/Moof/Log.hh +++ b/src/Moof/Log.hh @@ -64,7 +64,7 @@ public: mType(type) /* only pass literal strings */ {} - template + template void operator () (const T& item) { *this << item << std::endl; @@ -72,7 +72,7 @@ public: private: - template friend std::ostream& operator << (Log&, const T&); + template friend std::ostream& operator << (Log&, const T&); static Level gLevel; @@ -89,7 +89,7 @@ extern Log logWarning; extern Log logInfo; -template +template inline std::ostream& operator << (Log& logObj, const T& item) { if (Log::gLevel < logObj.mLevel) return nullLog;