Skip to content
callcount

log/slog.Warn

standard library

The 471st most-called standard-library function by production calls. Called 1,750 times across 45 modules; 1,746 of those run outside tests and generated code.

4% in production calls vs 2026-W37 (1,672 → 1,746)

All of log/slog → Docs on pkg.go.dev ↗

prod calls
1,746
non-test, non-generated
all calls
1,750
total callsites
modules
45
distinct callers
in loop
25%
of prod calls
in tests
<1%
4 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 Warn from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 1,750, prioritizing in-loop and non-test usage. We link to source, never display it.

top callers

The modules that reach for it

The modules that call Warn most in this snapshot.

  • github.com/chenhg5/cc-connect40123%
  • github.com/esengine/DeepSeek-Reasonix19211%
  • github.com/bytebase/bytebase17510%
  • github.com/charmbracelet/crush1418%
  • github.com/pinchtab/pinchtab1328%

siblings

More from log/slog

The other most-called functions in this package. See all →