7 #include "PlusConfigure.h" 14 vtkIGSIOSimpleRecursiveCriticalSection LoggerCreationCriticalSection;
18 vtkPlusLogger::vtkPlusLogger()
23 vtkPlusLogger::~vtkPlusLogger()
30 if (m_pInstance == NULL)
32 igsioLockGuard<vtkIGSIOSimpleRecursiveCriticalSection> loggerCreationGuard(&LoggerCreationCriticalSection);
33 if (m_pInstance != NULL)
41 igsioLockGuard<vtkIGSIORecursiveCriticalSection> critSectionGuard(newLoggerInstance->m_CriticalSection);
42 m_pInstance = newLoggerInstance;
45 std::string strVersion = std::string(
"Software version: ") +
49 strVersion +=
" (debug build)";
52 m_pInstance->LogMessage(LOG_LEVEL_INFO, strVersion,
"vtkPlusLogger", __LINE__);
Class to abstract away specific sequence file read/write details.
static vtkPlusConfig * GetInstance()
static vtkIGSIOLogger * Instance()
vtkPlusCommonExport std::string GetPlusLibVersionString()