Working on a plugin that also defines a module that will be imported. The intent is to use this module in other plugins as well. The module defines a class with multiple functions. The functions will be called by Action callbacks in the plugin. The problem I'm having is that I can't seem to get any logging to work from within this class. I'm using the standard Python logging module (as defined in API 2.0) for the plugin and all works there. I even tried standard Indigo logging and that didn't work either.
I suspect the problem lies in the way I have defined and initialized the class in the module. This is the first time I've tried to create a custom module that includes a class. I guess I could implement the module without a class, but there are some properties I would like to set that apply to all functions. It seemed like the best way to do that was with a class.
There's a section in the Indigo Plugin Developer's Guide v2.0 titled "Logging from submodules", but it hasn't been written yet. I bet the information that will eventually make its way to that section is what I'm looking for. Is there any documentation somewhere else on this topic that would help?
Thanks!