MCPcopy
hub / github.com/scrapy/scrapy / write

Method write

scrapy/utils/log.py:223–225  ·  view source on GitHub ↗
(self, buf: str)

Source from the content-addressed store, hash-verified

221 self.linebuf: str = ""
222
223 def write(self, buf: str) -> None:
224 for line in buf.rstrip().splitlines():
225 self.logger.log(self.log_level, line.rstrip())
226
227 def flush(self) -> None:
228 for h in self.logger.handlers:

Callers 15

export_itemMethod · 0.45
_beautify_newlineMethod · 0.45
start_exportingMethod · 0.45
finish_exportingMethod · 0.45
export_itemMethod · 0.45
export_itemMethod · 0.45
_run_command_profiledFunction · 0.45
request_seenMethod · 0.45
renderMethod · 0.45
gunzipFunction · 0.45
_inflateFunction · 0.45

Calls 1

logMethod · 0.45

Tested by

no test coverage detected