def debug(self, msg): if LOG_LEVEL_DEBUG >= self.log_level: print(self._get_formatted_msg(msg, 'DEBUG'), file=sys.stdout)