Giters
powerman
/
slogx
Golang extensions for log/slog
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
Watchers:
3
Issues:
22
Forks:
powerman/slogx Issues
Add `ChainReplaceAttr(...func([]string, slog.Attr) slog.Attr) func([]string, slog.Attr) slog.Attr`
Closed
5 months ago
Add `LogSkip()` and `LogAttrsSkip()` for use in custom log-helpers
Closed
6 months ago
Add `CtxHandler` etc. for using slog.Handler from context
Updated
6 months ago
Add alternative implementation for `CtxHandler.Handle` with benchmark
Updated
6 months ago
Add `errors.Join` support to `ErrorAttrs`
Updated
7 months ago
Add `GroupTopErrorAttrs` and `InlineSubErrorAttrs` options for `ErrorAttrs`
Updated
8 months ago
Add `NewError` etc. for attaching `[]slog.Attr` to `error`
Updated
8 months ago
Improve `ErrorAttrs` to avoid converting `error` to `string`
Updated
8 months ago
Add `ColumnarHandler` type
Updated
9 months ago
build: Upgrade golangci-lint when it will support Go 1.21
Closed
10 months ago
Add `Stack() slog.Attr`
Closed
a year ago
Add `commonHandler` type
Closed
a year ago
Comments count
1
ci: Update or remove CodeQL workflow
Closed
a year ago
Comments count
1
Add `ParseLevel(string) slog.Level`
Closed
a year ago
Add `ColumnarHandler.GrafanaLokiSetup` method
Updated
a year ago
Design colour support for `ColumnarHandler`
Updated
a year ago
Design `StackHandler`
Updated
a year ago
Design `CondLevelHandler`
Updated
a year ago
Add `ReplaceHandler`
Updated
a year ago
Design gRPC middleware
Updated
a year ago
Design HTTP middleware
Updated
a year ago
Add `NewContext(Ctx, *slog.Logger) Ctx` and `FromContext(Ctx) *slog.Logger`
Closed
a year ago