X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Flog.hh;h=a32daadd8b13b79cc5d8c83dce762d802c67c856;hp=f65d571e854b98b74c37978c3c11ca84adbb1af4;hb=51069fee9139ab8d14ecc80dffbe5deecb73d9e0;hpb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c diff --git a/src/moof/log.hh b/src/moof/log.hh index f65d571..a32daad 100644 --- a/src/moof/log.hh +++ b/src/moof/log.hh @@ -127,7 +127,7 @@ private: template friend std::ostream& operator << (log&, const T&); - static enum level gLevel; + static enum level global_level_; enum level level_; const char* prefix_; @@ -145,7 +145,7 @@ extern class log log_info; template inline std::ostream& operator << (class log& log, const T& item) { - if (log::gLevel < log.level_) return null_log; + if (log::global_level_ < log.level_) return null_log; return moof::log << log.prefix_ << item; }