Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

Logger.h File Reference

Go to the source code of this file.

Namespaces

namespace  toolbox

Defines

#define LOG_DEBUG   1
 As a log type: Message for debugging only (it is in no case a problem, and is only interesting for the owning developer).
As a log level: Show all messages of debug type or higher.

#define LOG_ERROR   4
 As a log type: Message is an error (it is in every case a problem).
As a log level: Show all messages of error type or higher.

#define LOG_EXCEPTION   5
 As a log type: Message is an exception (it is in every case a problem).
As a log level: Show all messages of exception type or higher.

#define LOG_FATAL   6
 As a log type: Message is fatal (it is a problem that causes program stop).
As a log level: Show all messages of fatal type or higher.

#define LOG_INFO   2
 As a log type: Message is a note (it is in no case a problem, but may be interesting for all developers).
As a log level: Show all messages of note type or higher.

#define LOG_NEVER   127
 Log level: Show no messages (logger is off).

#define LOG_SESSIONSEPARATOR   "\n-------------------------------------------------------------------------------\n"
 The logging session separator.

#define LOG_WARN   3
 As a log type: Message is a warning (situation may become a problem).
As a log level: Show all messages of warning type or higher.

#define LOGPRINTF0(type, format)
 Macro for the debug logging with 0 parameters.

#define LOGPRINTF1(type, format, p1)
 Macro for the debug logging with 1 parameter.

#define LOGPRINTF10(type, format, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10)
 Macro for the debug logging with 10 parameters.

#define LOGPRINTF2(type, format, p1, p2)
 Macro for the debug logging with 2 parameters.

#define LOGPRINTF3(type, format, p1, p2, p3)
 Macro for the debug logging with 3 parameters.

#define LOGPRINTF4(type, format, p1, p2, p3, p4)
 Macro for the debug logging with 4 parameters.

#define LOGPRINTF5(type, format, p1, p2, p3, p4, p5)
 Macro for the debug logging with 5 parameters.

#define LOGPRINTF6(type, format, p1, p2, p3, p4, p5, p6)
 Macro for the debug logging with 6 parameters.

#define LOGPRINTF7(type, format, p1, p2, p3, p4, p5, p6, p7)
 Macro for the debug logging with 7 parameters.

#define LOGPRINTF8(type, format, p1, p2, p3, p4, p5, p6, p7, p8)
 Macro for the debug logging with 8 parameters.

#define LOGPRINTF9(type, format, p1, p2, p3, p4, p5, p6, p7, p8, p9)
 Macro for the debug logging with 9 parameters.


Define Documentation

#define LOG_DEBUG   1
 

As a log type: Message for debugging only (it is in no case a problem, and is only interesting for the owning developer).
As a log level: Show all messages of debug type or higher.

Definition at line 29 of file Logger.h.

#define LOG_ERROR   4
 

As a log type: Message is an error (it is in every case a problem).
As a log level: Show all messages of error type or higher.

Definition at line 51 of file Logger.h.

#define LOG_EXCEPTION   5
 

As a log type: Message is an exception (it is in every case a problem).
As a log level: Show all messages of exception type or higher.

Definition at line 58 of file Logger.h.

#define LOG_FATAL   6
 

As a log type: Message is fatal (it is a problem that causes program stop).
As a log level: Show all messages of fatal type or higher.

Definition at line 65 of file Logger.h.

#define LOG_INFO   2
 

As a log type: Message is a note (it is in no case a problem, but may be interesting for all developers).
As a log level: Show all messages of note type or higher.

Definition at line 37 of file Logger.h.

#define LOG_NEVER   127
 

Log level: Show no messages (logger is off).

Definition at line 16 of file Logger.h.

#define LOG_SESSIONSEPARATOR   "\n-------------------------------------------------------------------------------\n"
 

The logging session separator.

Definition at line 21 of file Logger.h.

#define LOG_WARN   3
 

As a log type: Message is a warning (situation may become a problem).
As a log level: Show all messages of warning type or higher.

Definition at line 44 of file Logger.h.

#define LOGPRINTF0 type,
format   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format)) \
      : 0)
Macro for the debug logging with 0 parameters.

Definition at line 73 of file Logger.h.

#define LOGPRINTF1 type,
format,
p1   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1)) : 0)
Macro for the debug logging with 1 parameter.

Definition at line 79 of file Logger.h.

#define LOGPRINTF10 type,
format,
p1,
p2,
p3,
p4,
p5,
p6,
p7,
p8,
p9,
p10   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9), (p10)) : 0)
Macro for the debug logging with 10 parameters.

Definition at line 133 of file Logger.h.

#define LOGPRINTF2 type,
format,
p1,
p2   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2)) : 0)
Macro for the debug logging with 2 parameters.

Definition at line 85 of file Logger.h.

#define LOGPRINTF3 type,
format,
p1,
p2,
p3   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3)) : 0)
Macro for the debug logging with 3 parameters.

Definition at line 91 of file Logger.h.

#define LOGPRINTF4 type,
format,
p1,
p2,
p3,
p4   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4)) : 0)
Macro for the debug logging with 4 parameters.

Definition at line 97 of file Logger.h.

#define LOGPRINTF5 type,
format,
p1,
p2,
p3,
p4,
p5   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4), (p5)) : 0)
Macro for the debug logging with 5 parameters.

Definition at line 103 of file Logger.h.

#define LOGPRINTF6 type,
format,
p1,
p2,
p3,
p4,
p5,
p6   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4), (p5), (p6)) : 0)
Macro for the debug logging with 6 parameters.

Definition at line 109 of file Logger.h.

#define LOGPRINTF7 type,
format,
p1,
p2,
p3,
p4,
p5,
p6,
p7   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4), (p5), (p6), (p7)) : 0)
Macro for the debug logging with 7 parameters.

Definition at line 115 of file Logger.h.

#define LOGPRINTF8 type,
format,
p1,
p2,
p3,
p4,
p5,
p6,
p7,
p8   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8)) : 0)
Macro for the debug logging with 8 parameters.

Definition at line 121 of file Logger.h.

#define LOGPRINTF9 type,
format,
p1,
p2,
p3,
p4,
p5,
p6,
p7,
p8,
p9   ) 
 

Value:

(Logger::Get()!=NULL ? Logger::Get()->Printf(__FILE__, __LINE__, (type), (format), \
      (p1), (p2), (p3), (p4), (p5), (p6), (p7), (p8), (p9)) : 0)
Macro for the debug logging with 9 parameters.

Definition at line 127 of file Logger.h.


Generated on Tue Oct 3 00:23:38 2006 for ToolBox by doxygen 1.3.6