def info(self, msg): formatter_stream = logging.Formatter( ColorPrint.blue('%(levelname)s :: %(asctime)s :: %(message)s')) self.__stream_handler.setFormatter(formatter_stream) self.__stream_handler_err.setFormatter(formatter_stream) self.__logger.info(msg)
def info(self, msg): formatter_stream = logging.Formatter(ColorPrint.blue('%(levelname)s :: %(asctime)s :: %(message)s')) self.__stream_handler.setFormatter(formatter_stream) self.__stream_handler_err.setFormatter(formatter_stream) self.__logger.info(msg)
def debug(self, msg): formatter_stream = logging.Formatter(ColorPrint.blue(self.formatter_str)) self.stream_handler_stderr.setFormatter(formatter_stream) self.stream_handler_stdout.setFormatter(formatter_stream) self.__logger.debug(msg)