Skip to content

fix: change logger output to use gin.DefaultWriter#9

Open
tacascer wants to merge 1 commit intogin-contrib:mainfrom
tacascer:correct-default
Open

fix: change logger output to use gin.DefaultWriter#9
tacascer wants to merge 1 commit intogin-contrib:mainfrom
tacascer:correct-default

Conversation

@tacascer
Copy link
Copy Markdown

Address #8

Copilot AI review requested due to automatic review settings January 21, 2026 18:45
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the default output target for the slog-based Gin middleware logger to align with Gin’s standard writer configuration (addressing #8).

Changes:

  • Switch default log output from os.Stderr to gin.DefaultWriter.
  • Remove the now-unused os import.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants