Debug.h

From Giona

(Difference between revisions)
 
Line 9: Line 9:
static bool debug_on;
static bool debug_on;
 +
static bool debug_error_on;
class Debug
class Debug
Line 16: Line 17:
static void setDebugOn();
static void setDebugOn();
static void setDebugOff();
static void setDebugOff();
 +
static void setDebugErrorOn();
 +
static void setDebugErrorOff();
 +
static void debugError(STRING function, STRING error, STRING msg);
static void debug(STRING txt);
static void debug(STRING txt);
private:
private:

Current revision as of 17:34, 17 December 2007


#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_*/


BACK

Personal tools