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

Method _format_timestamp

src/core/logger.py:52–54  ·  view source on GitHub ↗

Format current timestamp

(self)

Source from the content-addressed store, hash-verified

50 return f"{token[:6]}...{token[-6:]}"
51
52 def _format_timestamp(self) -> str:
53 """Format current timestamp"""
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"""

Callers 5

log_requestMethod · 0.95
log_responseMethod · 0.95
log_errorMethod · 0.95
log_infoMethod · 0.95
log_warningMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected