def setDebugMode(self, debugOn):
        level = logging.DEBUG if debugOn else logging.INFO
        self.getLogger().setLevel(level)
        self.getBroker().getLogger().setLevel(level)
Enable/disable debug level messages in the strategy and backtesting broker.
dataset/ETHPy150Open gbeced/pyalgotrade/pyalgotrade/strategy/__init__.py/BacktestingStrategy.setDebugMode