https://bugs.freedesktop.org/show_bug.cgi?id=46390

Stephan Bergmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Stephan Bergmann <[email protected]> 2012-02-21 05:35:35 
PST ---
Or even better yet, replace code like

#if VERBOSE
  fprintf(stderr, ...)
#endif

or

#if OSL_DEBUG_LEVEL > 2
  fprintf(stderr, ...)
#endif

etc. with

  SAL_INFO("your.special.area", ...);

where "your.special.area" is a token that allows to enable logging of just that
extra information, with SAL_LOG=+WARN+INFO.your.special.area environment
variable (and for the basegfx example might for example be "basegfx.verbose"). 
See sal/inc/sal/log.hxx and sal/inc/sal/log-areas.dox.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to