Commit Graph

4 Commits

Author SHA1 Message Date
Byron Wang c624c68de6
fallback to json when converte non-serializable obj 2025-12-26 20:17:01 +08:00
Byron.wang 094dc0d605
Update api/core/logging/structured_formatter.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-12-25 18:15:22 +08:00
Byron Wang 26d12b34ce
use the contextvar instead of flask.g 2025-12-25 15:57:28 +08:00
Byron Wang 183b38ecb0
feat: add structured log and keep the trace id injecting to all request 2025-12-24 21:04:37 +08:00