-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
isolate/src/isolate/backends/connections/ipc/_base.py
Lines 232 to 247 in 6587d96
| def _parse_agent_and_log(self, line: str, level: LogLevel) -> None: | |
| # TODO: we probably should create a new fd and pass it as | |
| # one of the the arguments to the child process. Then everything | |
| # from that fd can be automatically logged as originating from the | |
| # bridge. | |
| # Agent can produce [trace] messages, so change the log | |
| # level to it if this does not originate from the user. | |
| if line.startswith("[trace]"): | |
| line = line.replace("[trace]", "", 1) | |
| level = LogLevel.TRACE | |
| source = LogSource.BRIDGE | |
| else: | |
| source = LogSource.USER | |
| self.log(line, level=level, source=source) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels