I am writing a Qgis plugin. I would like the plugin to write log message in a specific tab, in the Log Messages window. I tried:
QgsMessageLog.logMessage("File "+ii.source()+": all pixels set to no data", 'Raster Processing',QgsMessageLog.INFO )
but QGis keeps on writing under tab "General". I suppose I'm missing an initialisation part to instantiate a new tab and connect it to the message logger?