发布

  • feat(logging): add deferred request body capture for error handling

    frostbyte_neo 发布于 2026-07-14 15:35:29 +00:00 | 293 次提交 在此版本后已推送到 main

    • Introduced deferredRequestBodyCapture for spooling and retaining large error-only request bodies for improved logging.
    • Enhanced RequestLoggingMiddleware to capture request body based on size and error criteria.
    • Implemented decompression and truncation for large request bodies with Zstd encoding.
    • Added support for deferred API request logging and context tracking.
    • Included extensive test coverage for error-specific body capture and serialization behavior.
    下载附件