MCPcopy Index your code
hub / github.com/jetify-com/devbox / IsEnabled

Function IsEnabled

internal/debug/debug.go:39–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37
38func Enable() { level.Set(slog.LevelDebug) }
39func IsEnabled() bool { return slog.Default().Enabled(context.Background(), slog.LevelDebug) }
40func SetOutput(w io.Writer) { slog.SetDefault(slog.New(slog.NewTextHandler(w, &opts))) }
41
42func Recover() {

Callers 2

ExecuteMethod · 0.92
RecoverFunction · 0.85

Calls 1

EnabledMethod · 0.80

Tested by

no test coverage detected