MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / _write_separator

Method _write_separator

src/core/logger.py:56–58  ·  view source on GitHub ↗

Write separator line

(self, char: str = "=", length: int = 100)

Source from the content-addressed store, hash-verified

54 return datetime.now().strftime('%Y-%m-%d %H:%M:%S.%f')[:-3]
55
56 def _write_separator(self, char: str = "=", length: int = 100):
57 """Write separator line"""
58 self.logger.info(char * length)
59
60 def _truncate_large_fields(self, data: Any, max_length: int = 200) -> Any:
61 """对大字段进行截断处理,特别是 base64 编码的图片数据

Callers 3

log_requestMethod · 0.95
log_responseMethod · 0.95
log_errorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected