Exemplo n.º 1
0
 def __init__(self, eventid):
     """
     Instantiate a CoreModule class with an event ID.
     """
     self._eventid = eventid
     log_config = get_logging_config()
     log_name = log_config['loggers'].keys()[0]
     self.logger = logging.getLogger(log_name)
Exemplo n.º 2
0
 def __init__(self, eventid):
     """
     Instantiate a CoreModule class with an event ID.
     """
     self._eventid = eventid
     log_config = get_logging_config()
     log_name = log_config['loggers'].keys()[0]
     self.logger = logging.getLogger(log_name)
Exemplo n.º 3
0
 def __init__(self, eventid, filter=None):
     """
     Instantiate a ContourModule class with an event ID.
     """
     self._eventid = eventid
     log_config = get_logging_config()
     log_name = log_config['loggers'].keys()[0]
     self.logger = logging.getLogger(log_name)
     if filter is not None:
         self.filter_size = filter
     else:
         self.filter_size = DEFAULT_FILTER_SIZE