126 Log(std::string
const &module);
158 static void err (std::string
const &
err);
174 static void warn (std::string
const &
warn);
204 static void info (std::string
const &
info);
206 void fatal(std::string
const &
fatal, std::string
const &file,
int line);
207 void err (std::string
const &
err, std::string
const &file,
int line);
208 void warn (std::string
const &
warn, std::string
const &file,
int line);
209 void debug(std::string
const &
debug, std::string
const &file,
int line);
210 void info (std::string
const &
info, std::string
const &file,
int line);
212 #define DECLARE_LOG_MODULE(module) namespace {FSYS::Log eRRORlOG(module);} 214 #define FATAL(msg) eRRORlOG.fatal(msg, __FILE__, __LINE__); 215 #define ERR(msg) eRRORlOG.err (msg, __FILE__, __LINE__); 216 #define WARN(msg) eRRORlOG.warn (msg, __FILE__, __LINE__); 217 #define DEBUG(msg) eRRORlOG.debug(msg, __FILE__, __LINE__); 218 #define INFO(msg) eRRORlOG.info (msg, __FILE__, __LINE__); static void debug(std::string const &debug)
Static function to log debug messages.
Definition: log.cpp:157
Log(std::string const &module)
The Log constructor.
Definition: log.cpp:134
static void err(std::string const &err)
Static function to log messages about error conditions in the code.
Definition: log.cpp:147
static void warn(std::string const &warn)
Static function to log warning messages from the code.
Definition: log.cpp:152
void * me
The me member is available for use for actuall implementations.
Definition: log.h:107
static void info(std::string const &info)
Static function to log info messages.
Definition: log.cpp:162
static void fatal(std::string const &fatal)
Static function to log messages about fatal incidents in the code.
Definition: log.cpp:142
Log class used for logging information about program execution.
Definition: log.h:97