Пример #1
0
 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']>CHANNELIF_VERBOSE)
     if self.verbose>CHANNELIF_VERBOSE or force:
         kwargs.update(self.get_cif_anno(p))
         Element.log(self, event, p, *args, **kwargs)
Пример #2
0
 def log(self, evt=None, p=None, *args, **kwargs):
     """Overloaded to check verbose level and set common annotations."""
     force = False
     if ('verbose' in kwargs): force = (kwargs['verbose']>CHANNEL_VERBOSE)
     if self.verbose>CHANNEL_VERBOSE or force:
         Element.log(self, evt, p, *args, **kwargs)
Пример #3
0
 def log(self, event=None, p=None, *args, **kwargs):
     """Overloaded to check verbose level and set common annotations."""
     kwargs.update(self.get_net_anno(p))
     Element.log(self, event, p, *args, **kwargs)