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

A layout that supports structured logging should probably be the default #38

Open
atheriel opened this issue Oct 16, 2024 · 0 comments
Open

Comments

@atheriel
Copy link
Collaborator

One of the key advantages of this package is its support for structured logging, but that isn't surfaced by default, and it probably should be.

The default output for Go's slog package looks like a good compromise here; it isn't pure logfmt because it wants to be backward-compatible with the older log API:

2022/11/08 15:28:26 INFO hello count=3
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

No branches or pull requests

1 participant