I'm trying to write my first plugin, and I'm surprised that logging does not work as expected. My plugin will "download" metadata, so I'm subclassing "Source"
I think "identify" is called and runs, but when I run callibre-debug -g nothing appears on the console from my method. The download Metadata dialog does not show anything either. I've searched my Windows computer for log files, but I can't find anything from Calbre.
Code:
def identify(self, log, result_queue, abort, title=None, authors=None, identifiers=['series'], timeout=30):
log.info('Authors: %s'%authors))
log.info('Hello World!')
log.error('Hello World!')
return None
I've tried "str('hello world')" and I cannot find that output either.
Thanks for any help!
P.S. This is my first experience with Python too.