https://bugs.documentfoundation.org/show_bug.cgi?id=130924

--- Comment #13 from Hossein <[email protected]> ---
You should try to choose between SAL_INFO and SAL_WARN based on the printed
content, and the context. If you are about to print some INFORMATION, then
choose SAL_INFO, and if it a WARNING then you should use SAL_WARN.

This is useful for deciding:
https://bugs.documentfoundation.org/show_bug.cgi?id=91794#c0

If not understandable from the context, you can choose the equivalent
replacement:

-----
#if OSL_DEBUG_LEVEL > 2
fprintf(...)
#endif
-----
should become: SAL_INFO(...)

-----
#if OSL_DEBUG_LEVEL > 1
fprintf(...)
#endif
-----
should become: SAL_WARN(...)

-----
#if OSL_DEBUG_LEVEL > 0
fprintf(...)
#endif
-----
should become: SAL_WARN(...)

Please note that you should remove '#if OSL_DEBUG_LEVEL > x' and '#endif'.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to