Skip to content

Conversation

fujiwara
Copy link
Owner

@fujiwara fujiwara commented Jun 6, 2025

  • Add --log-format flag to switch between text and json log formats
  • Integrate github.com/fujiwara/sloghandler for text format logging
  • Automatically enable colored output only when stderr is a TTY
  • JSON format uses standard slog.JSONHandler

This improves logging experience in terminals while maintaining clean output in CI/CD environments.

🤖 Generated with Claude Code

fujiwara and others added 2 commits June 6, 2025 23:15
- Add --log-format flag to switch between text and json log formats
- Integrate github.com/fujiwara/sloghandler for text format logging
- Automatically enable colored output only when stderr is a TTY
- JSON format uses standard slog.JSONHandler

This improves logging experience in terminals while maintaining
clean output in CI/CD environments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove Go 1.22 from test matrix (incompatible with go.mod go 1.23.0)
- Add Go 1.24 to test matrix for latest version support
- Update release workflow to use Go 1.24 for builds
- Ensure CI/CD alignment with go.mod requirements

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@fujiwara fujiwara merged commit c15017e into main Jun 6, 2025
4 checks passed
@fujiwara fujiwara deleted the add-sloghandler-log-format branch June 6, 2025 14:31
@github-actions github-actions bot mentioned this pull request Jun 6, 2025
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.

1 participant