MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / _push_log

Method _push_log

api/services/crawler_manager.py:72–78  ·  view source on GitHub ↗

Push log to queue

(self, entry: LogEntry)

Source from the content-addressed store, hash-verified

70 return entry
71
72 async def _push_log(self, entry: LogEntry):
73 """Push log to queue"""
74 if self._log_queue is not None:
75 try:
76 self._log_queue.put_nowait(entry)
77 except asyncio.QueueFull:
78 pass
79
80 def _parse_log_level(self, line: str) -> str:
81 """Parse log level"""

Callers 3

startMethod · 0.95
stopMethod · 0.95
_read_outputMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected