We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ce47e6 commit b138f8eCopy full SHA for b138f8e
src/log/slog/handler.go
@@ -28,6 +28,8 @@ import (
28
//
29
// Users of the slog package should not invoke Handler methods directly.
30
// They should use the methods of [Logger] instead.
31
+//
32
+// Before implementing your own handler, consult https://go.dev/s/slog-handler-guide.
33
type Handler interface {
34
// Enabled reports whether the handler handles records at the given level.
35
// The handler ignores records whose level is lower.
0 commit comments