MCPcopy Create free account
hub / github.com/bugy/script-server / __init__

Method __init__

src/execution/logging.py:26–33  ·  view source on GitHub ↗
(self, log_file_path, output_stream)

Source from the content-addressed store, hash-verified

24
25class ScriptOutputLogger:
26 def __init__(self, log_file_path, output_stream):
27 self.opened = False
28 self.closed = False
29 self.output_stream = output_stream
30
31 self.log_file_path = log_file_path
32 self.log_file = None
33 self.close_callback = None
34
35 def start(self):
36 self._ensure_file_open()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected