Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use log/slog for debug messages by -tags=ebitenginedebug when the oldest Go version we support is Go 1.21 #2909

Open
11 tasks
hajimehoshi opened this issue Feb 12, 2024 · 0 comments

Comments

@hajimehoshi
Copy link
Owner

Operating System

  • Windows
  • macOS
  • Linux
  • FreeBSD
  • OpenBSD
  • Android
  • iOS
  • Nintendo Switch
  • PlayStation 5
  • Xbox
  • Web Browsers

What feature would you like to be added?

log/slog should be nicer than log for such a structured logs with -tags=ebitenginedebug. We don't know this will happen yet as Go 1.18 is still supported and there is no strong reason to drop this.

Why is this needed?

No response

@hajimehoshi hajimehoshi changed the title use log/slog for debug messages by -tags=ebitenginedebug when the least Go version is Go 1.21 use log/slog for debug messages by -tags=ebitenginedebug when the oldest Go version we support is Go 1.21 Feb 12, 2024
@hajimehoshi hajimehoshi added this to the v2.9.0 milestone Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant