Lines Matching refs:logger
71 """Return a logging.logger for the given path.
74 A logger whose name is the name of the module corresponding to
158 def configure_logging(logging_level=None, logger=None, stream=None,
164 logger. This allows the caller to later remove the handlers
165 using logger.removeHandler. This is useful primarily during unit
172 logger: A logging.logger instance to configure. This parameter
174 root logger.
178 handlers: A list of logging.Handler instances to add to the logger
193 if logger is None:
194 logger = logging.getLogger()
200 logger.setLevel(logging_level)
203 logger.addHandler(handler)