def METHOD_NAME(self):
    super().METHOD_NAME()
    log = param.parameterized.get_logger()
    self.handlers = log.handlers
    log.handlers = []
    self.log_handler = MockLoggingHandler(level='DEBUG')
    log.addHandler(self.log_handler)