log/slog.Default
standard libraryThe 1481st most-called standard-library function by production calls. Called 703 times across 67 modules; 418 of those run outside tests and generated code.
2% in production calls vs 2026-W37 (411 → 418)
- prod calls
- 418
- non-test, non-generated
- all calls
- 703
- total callsites
- modules
- 67
- distinct callers
- in loop
- <1%
- of prod calls
- in tests
- 36%
- 255 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into Default from notable Go projects. Open one on the map to see what else it hammers.
- Cilium 35 8%
- Helm 9 2%
- Kubernetes 2 <1%
- containerd 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 703, prioritizing in-loop and non-test usage. We link to source, never display it.
-
MicahParks/jwkset @v0.11.3
in loop - in loop
- in loop
- in loop
- in loop test
- in loop test
- in loop test
- in loop test
- in loop test
-
spf13/viper @v1.21.0
in loop test - in loop test
-
helm/v4 @v4.3.0
pkg/kube/statuswait_test.go:329
in loop test
top callers
The modules that reach for it
The modules that call Default most in this snapshot.
- github.com/certimate-go/certimate23634%
- github.com/cilium/cilium10215%
- github.com/benbjohnson/litestream659%
- codeberg.org/miekg/dns294%
- github.com/prometheus/alertmanager264%
siblings
More from log/slog
The other most-called functions in this package. See all →