diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-12-02 11:28:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-12-02 11:28:17 +0100 |
commit | 98aa85350460a0f1326b99007ae4b2c4ac425d50 (patch) | |
tree | 49c3547ccbdcfc605a590c9e018194fff72e3318 /tools | |
parent | 0b14a86f8a1c77683db2e81cb4604c077b572cf7 (diff) |
Also demote DBG_ASSERTWARNING to SAL_INFO, to reduce output clutter.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/inc/tools/debug.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/inc/tools/debug.hxx b/tools/inc/tools/debug.hxx index 4fde7b5bb1c1..3746350a2d44 100644 --- a/tools/inc/tools/debug.hxx +++ b/tools/inc/tools/debug.hxx @@ -42,10 +42,10 @@ steps taken while executing some protocol) should use the facilities provided by sal/log.hxx. - Because the assertion macros (DBG_ASSERTWARNING, DBG_ASSERT, DBG_BF_ASSERT) - have been used for true assertions as well as for logged warnings, they map - to SAL_WARN instead of standard assert. The warning and error macros - (DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING5, DBG_WARNINGFILE, + Because the assertion macros (DBG_ASSERT, DBG_BF_ASSERT) have been used for + true assertions as well as to log warnings, they map to SAL_WARN instead of + standard assert. The warning and error macros (DBG_ASSERTWARNING, + DBG_WARNING, DBG_WARNING1, ..., DBG_WARNING5, DBG_WARNINGFILE, DBG_ERRORFILE) all map to SAL_INFO. */ @@ -467,7 +467,7 @@ public: (const void*)pObj, (DbgUsr)fTest ) #define DBG_ASSERTWARNING( sCon, aWarning ) \ - SAL_DETAIL_WARN_IF_FORMAT(!(sCon), "legacy.tools", aWarning) + SAL_DETAIL_INFO_IF_FORMAT(!(sCon), "legacy.tools", aWarning) #define DBG_ASSERT( sCon, aError ) \ SAL_DETAIL_WARN_IF_FORMAT(!(sCon), "legacy.tools", aError) |