コード例 #1
0
ファイル: agent.py プロジェクト: reidlindsay/wins
 def log(self, event=None, p=None, *args, **kwargs):
     """Overloaded to check verbose level and set common annotations."""
     force = False
     if ('verbose' in kwargs): force = (kwargs['verbose']>AGENT_VERBOSE)
     if self.verbose>AGENT_VERBOSE or force:
         kwargs.update(self.get_agt_anno(p))
         Element.log(self, event, p, *args, **kwargs)