Index: ext/libicpf/src/libicpf/log.h =================================================================== diff -u -N -re31dc31ccf2010abee81ddc399d65b57e4803278 -r9c8dee07d9aecabc260a856da2b2dc350b7098a2 --- ext/libicpf/src/libicpf/log.h (.../log.h) (revision e31dc31ccf2010abee81ddc399d65b57e4803278) +++ ext/libicpf/src/libicpf/log.h (.../log.h) (revision 9c8dee07d9aecabc260a856da2b2dc350b7098a2) @@ -34,7 +34,7 @@ * Class used to perform message logging to the external file. Provides a possibility * of limiting the max size of a file and to cut the log message types below a specific * level. - * Class is thread safe. + * Class is thread safe (is it? most of the methods does not seem to be thread safe). */ class LIBICPF_API log_file { @@ -58,6 +58,11 @@ /** \name Initialization */ /**@{*/ void init(const tchar_t* pszPath, int_t iMaxSize, int_t iLogLevel, bool bLogStd, bool bClean); ///< Initializes the logging object + bool is_initialized() const throw(); + + void set_log_level(int_t iLogLevel) throw(); ///< Sets the log level + void set_max_size(int_t iMaxSize) throw(); ///< Sets the max size + /**@}*/ /** \name Logging functions */