X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fmoof%2Flog.hh;h=cad63e939a572a7c058aa6ad2e5c51fe12c19441;hb=6c9943707d4f33035830eba0587a61a34eaecbc2;hp=e6e1a80c980400475e4476e271448f5bfdf75e00;hpb=6f1b787a10d8ab1a3117a4b8c004dd2d90599608;p=chaz%2Fyoink diff --git a/src/moof/log.hh b/src/moof/log.hh index e6e1a80..cad63e9 100644 --- a/src/moof/log.hh +++ b/src/moof/log.hh @@ -50,6 +50,7 @@ public: error = 1, ///< Log only errors. warning = 2, ///< Log warnings and errors. info = 3, ///< Log everything. + debug = 4, ///< Log absolutely everything. }; @@ -146,9 +147,10 @@ private: extern std::ostream& log; extern std::ostream& null_log; -extern class log log_error; -extern class log log_warning; -extern class log log_info; +extern class log& log_error; +extern class log& log_warning; +extern class log& log_info; +extern class log& log_debug; template