Gegl logging statements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux