Debug.h
From Giona
#ifndef DEBUG_H_ #define DEBUG_H_ #include <ctime> #include <iostream> #include "gionaTypes.h" static bool debug_on; static bool debug_error_on; class Debug { public: static void setDebugOn(); static void setDebugOff(); static void setDebugErrorOn(); static void setDebugErrorOff(); static void debugError(STRING function, STRING error, STRING msg); static void debug(STRING txt); private: }; #endif /*DEBUG_H_*/