OpenM++ runtime library (libopenm)
|
base for log public interface More...
#include <omLog.h>
Public Member Functions | |
virtual const bool | isEnabled (void) noexcept=0 |
return true if log to console or to file enabled More... | |
virtual void | logMsg (const char *i_msg, const char *i_extra=NULL) noexcept=0 |
log message More... | |
virtual void | logFormatted (const char *i_format,...) noexcept=0 |
log message formatted with vsnprintf() More... | |
virtual const std::string | timeStamp (void) noexcept=0 |
return timestamp part of log file name: 2012_08_17_16_04_59_148. More... | |
virtual void | setRank (int i_rank, int i_worldSize) noexcept=0 |
use process rank as log message prefix More... | |
base for log public interface
|
pure virtualnoexcept |
return true if log to console or to file enabled
Implemented in openm::LogBase.
|
pure virtualnoexcept |
log message formatted with vsnprintf()
Implemented in openm::Log, and openm::TraceLog.
|
pure virtualnoexcept |
log message
Implemented in openm::Log, and openm::TraceLog.
|
pure virtualnoexcept |
use process rank as log message prefix
Implemented in openm::LogBase.
|
pure virtualnoexcept |
return timestamp part of log file name: 2012_08_17_16_04_59_148.
it is never return empty "" string, even no log enabled or timestamp disabled for log file
Implemented in openm::LogBase.