def new_log(log_self, level, msg, *args, **kwargs): Logger._orig_log(log_self, level, msg, *args, **kwargs) if self.blocking and self.core_up: print "Waiting on ACK.." self.state_change(msg, *args)
def new_log(log_self, level, msg, *args, **kwargs): Logger._orig_log(log_self, level, msg, *args, **kwargs) self.state_change(msg)