X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMoof%2FLog.hh;h=96585a1d5dc0041c7deea6b4027dd69eff9eb056;hb=e973a129b5b83b628ba3f09e8c95682fc74080cd;hp=c7ee50726b68e35ea914b81afa9c95fc4c347687;hpb=7f3984f3f9524f5b6813e01ceb2fe576dadff94e;p=chaz%2Fyoink diff --git a/src/Moof/Log.hh b/src/Moof/Log.hh index c7ee507..96585a1 100644 --- a/src/Moof/Log.hh +++ b/src/Moof/Log.hh @@ -64,12 +64,10 @@ public: enum Level { - NONE = -1, ///< Disable all logging. - ERRORR = 1, ///< Log only errors. - WARNING = 2, ///< Log warnings and errors. - SCRIPT = 3, ///< Log messages from Lua, too. - INFO = 4, ///< Log info, warnings, errors. - DEBUGG = 5, ///< Log all messages. + NONE = 0, ///< Disable all logging. + ERRORR = 1, ///< Log only errors. + WARNING = 2, ///< Log warnings and errors. + INFO = 3, ///< Log everything. }; static void setLevel(Level level); @@ -104,7 +102,6 @@ extern std::ostream& nullLog; extern Log logError; extern Log logWarning; extern Log logInfo; -extern Log logDebug; template @@ -116,7 +113,7 @@ inline std::ostream& operator << (Log& logObj, const T& item) class Script; -void importLogPrintFunction(Script& script); +void importLogFunctions(Script& script); } // namespace Mf