aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/go-kit/kit/log/json_logger.go
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2026-06-05 09:53:24 -0300
committerRaul Benencia <46945030+raul-te@users.noreply.github.com>2026-06-05 10:34:02 -0300
commita9f0622ed9750593ca6de12a27bb3a92c4e419e4 (patch)
tree604da45bf92642f77fd8774ae3cd8ae2a26abc94 /vendor/github.com/go-kit/kit/log/json_logger.go
parent4abb0469fd32c59da1af00c90887cabb59dd6e4c (diff)
Use slog logging
Drop go-kit/kit/log in favor of the now standard log/slog.
Diffstat (limited to 'vendor/github.com/go-kit/kit/log/json_logger.go')
-rw-r--r--vendor/github.com/go-kit/kit/log/json_logger.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/github.com/go-kit/kit/log/json_logger.go b/vendor/github.com/go-kit/kit/log/json_logger.go
deleted file mode 100644
index edfde2f..0000000
--- a/vendor/github.com/go-kit/kit/log/json_logger.go
+++ /dev/null
@@ -1,15 +0,0 @@
-package log
-
-import (
- "io"
-
- "github.com/go-kit/log"
-)
-
-// NewJSONLogger returns a Logger that encodes keyvals to the Writer as a
-// single JSON object. Each log event produces no more than one call to
-// w.Write. The passed Writer must be safe for concurrent use by multiple
-// goroutines if the returned Logger will be used concurrently.
-func NewJSONLogger(w io.Writer) Logger {
- return log.NewJSONLogger(w)
-}
nihil fit ex nihilo