Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
logger.hpp File Reference
#include <sstream>
#include <string>
+ Include dependency graph for logger.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Logger
 LOG and sLOG for development and debugging. More...
 
class  LoggerVoidify
 
class  SpacingLogger
 A logging class which outputs spaces between elements pushed via operator<<. More...
 

Namespaces

 tlx
 

Macros

#define LOG   LOGC(debug)
 Default logging method: output if the local debug variable is true. More...
 
#define LOG0   LOGC(false)
 Override default output: never or always output log. More...
 
#define LOG1   LOGC(true)
 
#define LOGC(cond)   !(cond) ? (void)0 : ::tlx::LoggerVoidify() & ::tlx::Logger()
 Explicitly specify the condition for logging. More...
 
#define sLOG   sLOGC(debug)
 Default logging method: output if the local debug variable is true. More...
 
#define sLOG0   sLOGC(false)
 Override default output: never or always output log. More...
 
#define sLOG1   sLOGC(true)
 
#define sLOGC(cond)   !(cond) ? (void)0 : ::tlx::LoggerVoidify() & ::tlx::SpacingLogger()
 Explicitly specify the condition for logging. More...
 

Macro Definition Documentation

#define LOG   LOGC(debug)

Default logging method: output if the local debug variable is true.

Definition at line 136 of file logger.hpp.

#define LOG0   LOGC(false)

Override default output: never or always output log.

Definition at line 139 of file logger.hpp.

#define LOG1   LOGC(true)

Definition at line 140 of file logger.hpp.

#define LOGC (   cond)    !(cond) ? (void)0 : ::tlx::LoggerVoidify() & ::tlx::Logger()

Explicitly specify the condition for logging.

Definition at line 132 of file logger.hpp.

#define sLOG   sLOGC(debug)

Default logging method: output if the local debug variable is true.

Definition at line 147 of file logger.hpp.

#define sLOG0   sLOGC(false)

Override default output: never or always output log.

Definition at line 150 of file logger.hpp.

#define sLOG1   sLOGC(true)

Definition at line 151 of file logger.hpp.

#define sLOGC (   cond)    !(cond) ? (void)0 : ::tlx::LoggerVoidify() & ::tlx::SpacingLogger()

Explicitly specify the condition for logging.

Definition at line 143 of file logger.hpp.