BayesOpt
log.hpp File Reference

Modules and helper macros for logging. More...

#include <sstream>
#include <string>
#include <cstdio>
#include <sys/time.h>
+ Include dependency graph for log.hpp:
+ This graph shows which files directly or indirectly include this file:

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 ()
 

Detailed Description

Modules and helper macros for logging.

Definition in file log.hpp.

Macro Definition Documentation

◆ FILE_LOG

#define FILE_LOG (   level)
Value:
if (level > FILELOG_MAX_LEVEL) ;\
else if (level > FILELog::ReportingLevel() || !Output2FILE::Stream()) ; \
else FILELog().Get(level)
Definition: log.hpp:163

Definition at line 170 of file log.hpp.