Index: ext/libicpf/src/log.h =================================================================== diff -u -N -re17c80d36eaa0430313e7d1058aa7a301d1510af -r01f412dddb725bcd82c0dce8755af7f113a101d8 --- ext/libicpf/src/log.h (.../log.h) (revision e17c80d36eaa0430313e7d1058aa7a301d1510af) +++ ext/libicpf/src/log.h (.../log.h) (revision 01f412dddb725bcd82c0dce8755af7f113a101d8) @@ -100,8 +100,8 @@ public: /** \name Construction/destruction */ /**@{*/ - log_file(); ///< Standard constructor - ~log_file(); ///< Standard destructor + log_file(bool bGlobal); ///< Standard constructor + ~log_file(); ///< Standard destructor /**@}*/ /** \name Initialization */ @@ -161,7 +161,8 @@ int_t m_iMaxSize; ///< Maximum size of the log file bool m_bLogStd; ///< Log also to stdout/stderr int_t m_iLogLevel; ///< Log level (similar to the _LOG_LEVEL, but change'able after compilation) - + bool m_bGlobal; ///< Is this the global instance of app log ? (so the LOG* macros would use it) + protected: mutex m_lock; ///< Lock for making the class thread safe };