environment/lib/python2.7/site-packages/nose/plugins/logcapture.py
def configure(self, options, conf):
        """Configure plugin.
        """
        self.conf = conf
        # Disable if explicitly disabled, or if logging is
        # configured via logging config file
        if not options.logcapture or conf.loggingConfig:
            self.enabled = False
        self.logformat = options.logcapture_format
        self.logdatefmt = options.logcapture_datefmt
        self.clear = options.logcapture_clear
        self.loglevel = options.logcapture_level
        if options.logcapture_filters:
            self.filters = options.logcapture_filters.split(',')
def configure(self, options, conf):
        """Configure plugin.
        """
        self.conf = conf
        # Disable if explicitly disabled, or if logging is
        # configured via logging config file
        if not options.logcapture or conf.loggingConfig:
            self.enabled = False
        self.logformat = options.logcapture_format
        self.logdatefmt = options.logcapture_datefmt
        self.clear = options.logcapture_clear
        self.loglevel = options.logcapture_level
        if options.logcapture_filters:
            self.filters = options.logcapture_filters.split(',')
def configure ( self , options , conf ) : self . conf = conf # Disable if explicitly disabled, or if logging is # configured via logging config file if not options . logcapture or conf . loggingConfig : self . enabled = False self . logformat = options . logcapture_format self . logdatefmt = options . logcapture_datefmt self . clear = options . logcapture_clear self . loglevel = options . logcapture_level if options . logcapture_filters : self . filters = options . logcapture_filters . split ( ',' )
Configure plugin.
Configure plugin .