logger/slog: add option to pass slog.Handler
All checks were successful
test / test (push) Successful in 45s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2024-12-07 14:18:25 +03:00
parent 9213fd212f
commit 0e66688f8f
2 changed files with 20 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ import (
var (
ErrWatcherStopped = errors.New("watcher stopped")
// ErrNotConnected is returned when a store is not connected
ErrNotConnected = errors.New("not conected")
ErrNotConnected = errors.New("not connected")
// ErrNotFound is returned when a key doesn't exist
ErrNotFound = errors.New("not found")
// ErrInvalidKey is returned when a key has empty or have invalid format