Пример #1
0
 def announce(self, msg, level=1):
     """If the current verbosity level is of greater than or equal to
     'level' print 'msg' to stdout.
     """
     log.log(level, msg)
Пример #2
0
 def announce(self, msg, level=log.INFO):
     log.log(level, msg)