Пример #1
0
 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)
Пример #2
0
 def new_log(log_self, level, msg, *args, **kwargs):
   Logger._orig_log(log_self, level, msg, *args, **kwargs)
   self.state_change(msg)
Пример #3
0
 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)
Пример #4
0
 def new_log(log_self, level, msg, *args, **kwargs):
     Logger._orig_log(log_self, level, msg, *args, **kwargs)
     self.state_change(msg)