def enableLogging(self, enable=True):
        if enable:
            self.registerAll(self.logMessage)
        else:
            self.unregisterAll(self.logMessage)
        return enable
Enable or disable logging of all messages.
dataset/ETHPy150Open CarterBain/Medici/ib/opt/dispatcher.py/Dispatcher.enableLogging