コード例 #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
ファイル: pox_syncer.py プロジェクト: colin-scott/sts
 def new_log(log_self, level, msg, *args, **kwargs):
   Logger._orig_log(log_self, level, msg, *args, **kwargs)
   self.state_change(msg)
コード例 #3
0
ファイル: pox_syncer.py プロジェクト: raunaks42/SDNRacer
 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
ファイル: pox_syncer.py プロジェクト: I201821180B/sts
 def new_log(log_self, level, msg, *args, **kwargs):
     Logger._orig_log(log_self, level, msg, *args, **kwargs)
     self.state_change(msg)