MCPcopy Create free account
hub / github.com/browser-use/macOS-use / emit

Method emit

gradio_app/src/utils/logging_utils.py:9–14  ·  view source on GitHub ↗
(self, record)

Source from the content-addressed store, hash-verified

7 self.log_queue = log_queue
8
9 def emit(self, record):
10 try:
11 msg = self.format(record)
12 self.log_queue.put(f"{msg}\n")
13 except Exception:
14 self.handleError(record)
15
16def setup_logging(log_queue):
17 """Set up logging to capture terminal output"""

Callers

nothing calls this directly

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected