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