DebugFunctions.h File Reference

Revision
1.12
More...

#include <iosfwd>
#include <sstream>

Include dependency graph for DebugFunctions.h:

Go to the source code of this file.

Classes

class  Log

Defines

#define LOG_DEBUG(l)   l(Log::DEBUG)
#define LOG_INFO(l)   l(Log::INFO)
#define LOG_WARN(l)   l(Log::WARN)
#define LOG_ERROR(l)   l(Log::ERROR)
#define LOG_FATAL(l)   l(Log::FATAL)
#define LOG_WRITE   Log::write
#define UNIT_LOGGER   g_untlgr
#define SET_UNIT_LOGGER(lnam)   namespace { Log UNIT_LOGGER(#lnam); }
#define LOG   LOG_INFO(UNIT_LOGGER)
#define DEBUG(l)   LOG_DEBUG(UNIT_LOGGER)

Functions

void InitLogging (const char *configfile=0)


Detailed Description

Revision
1.12

Functions for nice formated, redirectable and level capable debugging and logging functions.


Define Documentation

#define DEBUG (  )     LOG_DEBUG(UNIT_LOGGER)

#define LOG   LOG_INFO(UNIT_LOGGER)

#define LOG_DEBUG (  )     l(Log::DEBUG)

#define LOG_ERROR (  )     l(Log::ERROR)

#define LOG_FATAL (  )     l(Log::FATAL)

#define LOG_INFO (  )     l(Log::INFO)

#define LOG_WARN (  )     l(Log::WARN)

#define LOG_WRITE   Log::write

#define SET_UNIT_LOGGER ( lnam   )     namespace { Log UNIT_LOGGER(#lnam); }

#define UNIT_LOGGER   g_untlgr


Function Documentation

void InitLogging ( const char *  configfile = 0  ) 


Generated on Sun Mar 11 15:33:25 2007 for MetalWarriors by  doxygen 1.4.7