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

log/slog: LevelTrace #64439

Closed
3052 opened this issue Nov 29, 2023 · 1 comment
Closed

log/slog: LevelTrace #64439

3052 opened this issue Nov 29, 2023 · 1 comment
Labels

Comments

@3052
Copy link

3052 commented Nov 29, 2023

Proposal Details

would look like this, along with the current options:

const (
   LevelTrace Level = -8
   LevelDebug Level = -4
   LevelInfo  Level = 0
   LevelWarn  Level = 4
   LevelError Level = 8
)

its already referenced here:

https://godocs.io/log/slog#example-HandlerOptions-CustomLevels

and I think it would be a helpful addition.

@3052 3052 added the Proposal label Nov 29, 2023
@seankhliao
Copy link
Member

see #56345 (comment)

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants