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

pterm slog logger doesn't support anything lower than debug #635

Closed
nixomose opened this issue Feb 5, 2024 · 1 comment
Closed

pterm slog logger doesn't support anything lower than debug #635

nixomose opened this issue Feb 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@nixomose
Copy link

nixomose commented Feb 5, 2024

I have a logger that runs at trace level and it will never log in pterm, because enabled always returns false because there's no trace level switch case.

https://github.com/pterm/pterm/blob/master/slog_handler.go#L16

@nixomose nixomose added the bug Something isn't working label Feb 5, 2024
@MarvinJWendt
Copy link
Member

Hi, currently, PTerm only supports the out-of-the-box slog levels. We are tracking progress here, to make PTerm handle any level: #603

@MarvinJWendt MarvinJWendt closed this as not planned Won't fix, can't repro, duplicate, stale Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants