MCPcopy Create free account
hub / github.com/Tencent/digitalhuman / __init__

Method __init__

HATE/basic_hate/agentverse/logging.py:18–19  ·  view source on GitHub ↗
(self, filename, mode="a", encoding=None, delay=False)

Source from the content-addressed store, hash-verified

16# from autogpt.speech import say_text
17class JsonFileHandler(logging.FileHandler):
18 def __init__(self, filename, mode="a", encoding=None, delay=False):
19 super().__init__(filename, mode, encoding, delay)
20
21 def emit(self, record):
22 json_data = json.loads(self.format(record))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected