[Minor] Improve logging

This commit is contained in:
Behdad Esfahbod 2012-11-07 14:30:35 -08:00
parent 5d21c9e224
commit 867c876b0e
2 changed files with 3 additions and 1 deletions

View file

@ -1485,6 +1485,8 @@ check_composite_glyphs (const cairo_composite_rectangles_t *extents,
cairo_glyph_t *glyphs,
int *num_glyphs)
{
TRACE ((stderr, "%s\n", __FUNCTION__));
cairo_xlib_surface_t *dst = (cairo_xlib_surface_t *)extents->surface;
cairo_xlib_display_t *display = dst->display;
int max_request_size, size;

View file

@ -2032,7 +2032,7 @@ cairo_private void
_cairo_debug_print_clip (FILE *stream, const cairo_clip_t *clip);
#if 0
#define TRACE(x) fprintf x
#define TRACE(x) fprintf (stderr, "%s: ", __FILE__), fprintf x
#define TRACE_(x) x
#else
#define TRACE(x)