mirror of
https://github.com/router-for-me/CLIProxyAPIPlus.git
synced 2026-03-21 16:40:22 +00:00
feat(logging): integrate logrus with custom Gin middleware for enhanced request logging and recovery
- Added `GinLogrusLogger` for structured request logging using Logrus. - Implemented `GinLogrusRecovery` to handle panics and log stack traces. - Configured log rotation using Lumberjack for efficient log management. - Replaced Gin's default logger and recovery middleware with the custom implementations.
This commit is contained in:
Reference in New Issue
Block a user