MCPcopy
hub / github.com/tuna/tunasync / Enabled

Method Enabled

internal/logger.go:138–140  ·  view source on GitHub ↗
(_ context.Context, level slog.Level)

Source from the content-addressed store, hash-verified

136}
137
138func (h *lineHandler) Enabled(_ context.Context, level slog.Level) bool {
139 return level >= h.level.Level()
140}
141
142func (h *lineHandler) Handle(_ context.Context, record slog.Record) error {
143 var b strings.Builder

Callers 2

logMethod · 0.80

Calls

no outgoing calls

Tested by 1