This is the formatting string that I am using for logging:
\'%(asctime)s - %(levelname)-10s - %(funcName)s - %(message)s\'
But to show the logg
You can merge progress method and split_line method:
progress
split_line
def progress(self, txt, *args, **kwargs): if self.isEnabledFor(self.PROGRESS): txt = txt % (args) for line in txt.split('\n'): self._log(self.PROGRESS, line, [], **kwargs)