Skip to content
callcount

package

log

standard library

18 standard-library functions from log, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
39,130
non-test, non-generated
all calls
52,743
total callsites
functions
18
ranked in this snapshot
origin
std
standard-library

members

Functions in log

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
Printf 18,891
Fatal 5,083
Fatalf 4,631
Println 4,125
Logger.Printf 2,034
Print 801
Fatalln 795
Logger.Println 675
New 652
SetFlags 336
SetOutput 222
Panicf 196
Logger.Fatalf 160
Logger.Output 127
Panic 109
SetPrefix 108
Panicln 98
Logger.Print 87