[PR #942] feat: add support for LOG_LEVEL env variable #542

Closed
opened 2025-10-08 00:12:35 +03:00 by OVERLORD · 0 comments
Owner

Original Pull Request: https://github.com/pocket-id/pocket-id/pull/942

State: closed
Merged: Yes


This PR adds support for the LOG_LEVEL env variable. Additionally a few improvements were made:

  • Replaced github.com/samber/slog-gin with github.com/gin-contrib/slog
  • Removed TextHandler and use tint.Handler but without color if the output isn't a terminal

Closes #294

**Original Pull Request:** https://github.com/pocket-id/pocket-id/pull/942 **State:** closed **Merged:** Yes --- This PR adds support for the `LOG_LEVEL` env variable. Additionally a few improvements were made: - Replaced `github.com/samber/slog-gin` with `github.com/gin-contrib/slog` - Removed `TextHandler` and use `tint.Handler` but without color if the output isn't a terminal Closes #294
OVERLORD added the pull-request label 2025-10-08 00:12:36 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/pocket-id-pocket-id-1#542