logger.h File Reference

#include "compat.h"
#include <semaphore.h>
#include <iostream>
Include dependency graph for logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Log

Defines

#define LOG(level, esp)

Enumerations

enum  LOG_LEVEL {
  LOG_NO_INFO = 0, LOG_ERROR = 1, LOG_NOT_IMPLEMENTED = 2, LOG_CALLS = 3,
  LOG_TRACE = 4
}

Define Documentation

#define LOG ( level,
esp   ) 
Value:
do {                                                    \
        if(level<=Log::getLevel())                      \
        {                                               \
                Log l(level);                           \
                l() << esp << std::endl;                \
        }                                               \
} while(0)

Definition at line 29 of file logger.h.


Enumeration Type Documentation

enum LOG_LEVEL
Enumerator:
LOG_NO_INFO 
LOG_ERROR 
LOG_NOT_IMPLEMENTED 
LOG_CALLS 
LOG_TRACE 

Definition at line 27 of file logger.h.

Generated on Tue Aug 24 19:50:35 2010 for Lightspark by  doxygen 1.6.3