Cambridge SMT System
logger.hpp File Reference
#include <fst/fstlib.h>
#include "logger.openfstglog.hpp"
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  ucam::util::silent
 Provides methods to set and get silent logging mode. More...
 

Namespaces

 HifstConstants
 
 ucam
 
 ucam::util
 

Macros

#define PRINTLOG
 
#define PRINTERROR
 
#define PRINTWARNING
 
#define PRINTINFO
 
#define TRACER   LogMessage(ucam::util::getTimestamp()).stream()
 

Functions

std::string ucam::util::getTimestamp (void)
 Generates time stamp. More...
 
std::string ucam::util::filteredHeader (const std::string &a)
 This function is meant to filter PRETTY_FUNCTION and attempts to simplify it. With the templating it can get a little nasty to show in the logs. More...
 

Variables

const std::string HifstConstants::kLoggerVerbose = "logger.verbose"
 

Macro Definition Documentation

#define PRINTERROR

Definition at line 19 of file logger.hpp.

#define PRINTINFO

Definition at line 22 of file logger.hpp.

#define PRINTLOG

Definition at line 18 of file logger.hpp.

#define PRINTWARNING

Definition at line 20 of file logger.hpp.

#define TRACER   LogMessage(ucam::util::getTimestamp()).stream()

Definition at line 68 of file logger.hpp.