Whiteboard
An interface and tools for visualizing large and complex datasets
Classes | Macros | Enumerations | Functions
log.h File Reference
#include <sstream>
#include <string>
#include <stdio.h>
#include <sys/time.h>

Go to the source code of this file.

Classes

class  Log< T >
 
class  Output2FILE
 
class  FILELog
 

Macros

#define FILELOG_DECLSPEC
 
#define FILELOG_MAX_LEVEL   logDEBUG4
 
#define FILE_LOG(level)
 

Enumerations

enum  TLogLevel {
  logERROR, logWARNING, logINFO, logDEBUG,
  logDEBUG1, logDEBUG2, logDEBUG3, logDEBUG4
}
 

Functions

std::string NowTime ()
 

Macro Definition Documentation

#define FILE_LOG (   level)
Value:
if (level > FILELOG_MAX_LEVEL) ;\
else if (level > FILELog::ReportingLevel() || !Output2FILE::Stream()) ; \
else FILELog().Get(level)
static FILE *& Stream()
Definition: log.h:95
#define FILELOG_MAX_LEVEL
Definition: log.h:126
std::ostringstream & Get(TLogLevel level=logINFO)
Definition: log.h:36
static TLogLevel & ReportingLevel()
Definition: log.h:122
#define FILELOG_DECLSPEC
#define FILELOG_MAX_LEVEL   logDEBUG4

Enumeration Type Documentation

enum TLogLevel
Enumerator
logERROR 
logWARNING 
logINFO 
logDEBUG 
logDEBUG1 
logDEBUG2 
logDEBUG3 
logDEBUG4 

Function Documentation

std::string NowTime ( )
inline