I didn't see the use of geany_debug in any plugin source that I've looked at.  Is there some other convention for reporting debug information for plugins?  I've been using printf, but would prefer geany_debug.

As an implementation exercise, I
  1. added member void (*geany_debug) to struct PluginFuncs, replicating the declaration of geany_debug in geany.h
  2. added an initializer (reference to geany_debug) to plugin_funcs in plugins.c
  3. added a #define geany_debug in geanyfunctions.h.
  4. used geany_debug() in the plugin (Tools->Template Files) I'm developing.
What's the right way?  All of the ...Funcs structs seem to use name prefix conventions, but geany_debug doesn't fit any pattern.  Should there be another ...Funcs struct for this?  Or maybe a similar but separate debug function should exist for plugins?

- tony