Exemplo n.º 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)
Exemplo n.º 2
0
 def new_log(log_self, level, msg, *args, **kwargs):
   Logger._orig_log(log_self, level, msg, *args, **kwargs)
   self.state_change(msg)
Exemplo n.º 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)
Exemplo n.º 4
0
 def new_log(log_self, level, msg, *args, **kwargs):
     Logger._orig_log(log_self, level, msg, *args, **kwargs)
     self.state_change(msg)