Date: Friday, March 17, 2006 @ 10:16:53
Author: marc
Path: /cvsroot/carob/carob/include
Modified: Common.hpp (1.36 -> 1.37)
Doxygened the fact that log functions cannot be used in static initializers.
Related to CAROB-74.
------------+
Common.hpp | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
Index: carob/include/Common.hpp
diff -u carob/include/Common.hpp:1.36 carob/include/Common.hpp:1.37
--- carob/include/Common.hpp:1.36 Thu Mar 16 18:16:35 2006
+++ carob/include/Common.hpp Fri Mar 17 10:16:53 2006
@@ -76,27 +76,32 @@
void setLogLevel(const LogLevel l);
/**
* Writes a log message with 'Debug' level.
- * Use isDebugEnabled() to determine if the message should be printed
+ * Use isDebugEnabled() to determine if the message should be printed.
+ * Cannot be used in static initializers.
*/
void logDebug(const std::wstring& fctName, const std::wstring& message);
/**
* Writes a log message with 'Info' level.
* Use isInfoEnabled() to determine if the message should be printed
+ * Cannot be used in static initializers.
*/
void logInfo(const std::wstring&, const std::wstring&);
/**
* Writes a log message with 'Warn' level.
- * Use isWarnEnabled() to determine if the message should be printed
+ * Use isWarnEnabled() to determine if the message should be printed.
+ * Cannot be used in static initializers.
*/
void logWarn(const std::wstring&, const std::wstring&);
/**
* Writes a log message with 'Error' level.
- * Use isErrorEnabled() to determine if the message should be printed
+ * Use isErrorEnabled() to determine if the message should be printed.
+ * Cannot be used in static initializers.
*/
void logError(const std::wstring&, const std::wstring&);
/**
* Writes a log message with 'Fatal' level.
- * Use isFatalEnabled() to determine if the message should be printed
+ * Use isFatalEnabled() to determine if the message should be printed.
+ * Cannot be used in static initializers.
*/
void logFatal(const std::wstring&, const std::wstring&);
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits