Skip to content
callcount

github.com/rs/zerolog.Logger.WithContext

third-party

The 3572nd most-called third-party method by production calls. Called 191 times across 3 modules; 166 of those run outside tests and generated code.

All of github.com/rs/zerolog → Docs on pkg.go.dev ↗

prod calls
166
non-test, non-generated
all calls
191
total callsites
modules
3
distinct callers
in loop
28%
of prod calls
in tests
13%
25 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 →

  • Concrete method100%A method on a value whose type is known exactly.

who calls this

Notable callers

Production calls into Logger.WithContext 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 191, prioritizing in-loop and non-test usage. We link to source, never display it.

Logger.WithContext · 12 of 191 callsites

top callers

The modules that reach for it

The modules that call Logger.WithContext most in this snapshot.

  • maunium.net/go/mautrix9550%
  • github.com/traefik/traefik/v38645%
  • github.com/rs/zerolog105%

siblings

More from github.com/rs/zerolog

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