type log/slog.JSONHandler
9 uses
log/slog (current package)
json_handler.go#L23: type JSONHandler struct {
json_handler.go#L30: func NewJSONHandler(w io.Writer, opts *HandlerOptions) *JSONHandler {
json_handler.go#L34: return &JSONHandler{
json_handler.go#L46: func (h *JSONHandler) Enabled(_ context.Context, level Level) bool {
json_handler.go#L52: func (h *JSONHandler) WithAttrs(attrs []Attr) Handler {
json_handler.go#L53: return &JSONHandler{commonHandler: h.commonHandler.withAttrs(attrs)}
json_handler.go#L56: func (h *JSONHandler) WithGroup(name string) Handler {
json_handler.go#L57: return &JSONHandler{commonHandler: h.commonHandler.withGroup(name)}
json_handler.go#L90: func (h *JSONHandler) Handle(_ context.Context, r Record) error {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)