[Gegl-developer] Gegl logging statements
Henrik Akesson
h.m.akesson at gmail.com
Wed Mar 11 06:57:31 PDT 2009
Hi,
I tend to sprinkle the code with logging statements when learning/debugging.
glib has the appropriate functionality for managing the logs... Normally the
overhead of the logging statements (if turned off) is neglectable.
Should I leave my log statements in my patches (that will be mainly focused
on adding comments)?
Example statement:
g_debug ( "{%s:%u} rectangle split to (%ux%u) and (%ux%u)\n",
__FILE__, __LINE__, dr->height, dr->width,
fragment->height, fragment->width);
Output:
** (lt-gegl:13884): DEBUG: {gegl-processor.c:460} rectangle split to
(675x496) and (675x256)
Thanks,
Henrik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /lists/gegl-developer/attachments/20090311/c238d717/attachment.html
More information about the Gegl-developer
mailing list