OpenM++ runtime library (libopenm)
omLog.h File Reference

OpenM++: public interface for log and trace support. More...

Include dependency graph for omLog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  openm::ILogBase
 base for log public interface More...
 
struct  openm::ILog
 log public interface: log to console and into log files More...
 
struct  openm::ITrace
 trace log public interface: model event log to console and into log files More...
 

Namespaces

 openm
 openM++ namespace
 

Macros

#define LT(sourceMessage)   ((theLog->getMessage(sourceMessage)).c_str())
 LT localisation function: return is temporary const char* and must be copied to avoid memory violation crash. More...
 

Variables

openm::ILogtheLog
 log global instance: log to console and into log files More...
 
openm::ITracetheTrace
 trace log global instance: model debug output to console and log files More...
 

Detailed Description

OpenM++: public interface for log and trace support.

Macro Definition Documentation

◆ LT

#define LT (   sourceMessage)    ((theLog->getMessage(sourceMessage)).c_str())

LT localisation function: return is temporary const char* and must be copied to avoid memory violation crash.

Variable Documentation

◆ theLog

openm::ILog* theLog

log global instance: log to console and into log files

log global instance: log to console and into log files

◆ theTrace

openm::ITrace* theTrace

trace log global instance: model debug output to console and log files

trace log global instance: model debug output to console and log files