X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2FMoof%2FLog.hh;fp=src%2FMoof%2FLog.hh;h=96585a1d5dc0041c7deea6b4027dd69eff9eb056;hp=c7ee50726b68e35ea914b81afa9c95fc4c347687;hb=b357615aba1dbde81e3c6999366604e6001010a7;hpb=246d7d6e4386b686327163d621c7c8b398b7d479 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