I didn't see the use of <b>geany_debug</b> in any plugin source that I've looked at.  Is there some other convention for reporting debug information for plugins?  I've been using <b>printf</b>, but would prefer <b>geany_debug</b>.<br>
<br>As an implementation exercise, I <br><ol><li>added member <b>void (*geany_debug)</b> to struct PluginFuncs, replicating the declaration of <b>geany_debug</b> in geany.h</li><li>added an initializer (reference to <b>geany_debug</b>) to <b>plugin_funcs</b> in <b>plugins.c</b></li>
<li>added a <b>#define geany_debug</b> in <b>geanyfunctions.h</b>.</li><li>used <b>geany_debug()</b> in the plugin (Tools->Template Files) I'm developing.<br></li></ol>What's the right way?  All of the ...Funcs structs seem to use name prefix conventions, but <b>geany_debug</b> 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?<br>
<br>- tony<br><br>