MCPcopy Create free account
hub / github.com/coder/slog / l

Function l

sloggers/slogtest/t.go:149–151  ·  view source on GitHub ↗
(t testing.TB)

Source from the content-addressed store, hash-verified

147var ctx = context.Background()
148
149func l(t testing.TB) slog.Logger {
150 return Make(t, &Options{SkipCleanup: true})
151}
152
153// Debug logs the given msg and fields to t via t.Log at the debug level.
154func Debug(t testing.TB, msg string, fields ...slog.Field) {

Callers 4

DebugFunction · 0.85
InfoFunction · 0.85
ErrorFunction · 0.85
FatalFunction · 0.85

Calls 1

MakeFunction · 0.70

Tested by

no test coverage detected