40 inline static bool get () {
44 inline static void set (
bool silent ) {
51 size_t pos = a.find_last_of (
'(' );
52 size_t pos2 = a.find_last_of (
' ', pos );
53 return a.substr ( pos2 + 1, pos - pos2 - 1 );
67 #include <fst/fstlib.h> 68 #define TRACER LogMessage(ucam::util::getTimestamp()).stream() Logger implementation – init method and macros around actual OpenFST logger – requires including op...
Provides methods to set and get silent logging mode.
std::string getTimestamp(void)
Generates time stamp.
std::string filteredHeader(const std::string &a)
This function is meant to filter PRETTY_FUNCTION and attempts to simplify it. With the templating it ...
const std::string kLoggerVerbose
Logger implementation – init method and macros around actual Boost Logger.