MCPcopy
hub / github.com/scrapy/scrapy / start

Method start

tests/test_crawler.py:523–534  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

521 }
522
523 async def start(self):
524 info_count_start = crawler.stats.get_value("log_count/INFO")
525 logging.debug("debug message") # noqa: LOG015
526 logging.info("info message") # noqa: LOG015
527 logging.warning("warning message") # noqa: LOG015
528 logging.error("error message") # noqa: LOG015
529 nonlocal info_count
530 info_count = (
531 crawler.stats.get_value("log_count/INFO") - info_count_start
532 )
533 return
534 yield
535
536 try:
537 configure_logging()

Callers

nothing calls this directly

Calls 3

infoMethod · 0.80
errorMethod · 0.80
get_valueMethod · 0.45

Tested by

no test coverage detected