package
log/slog
standard library28 standard-library functions from log/slog, ranked by how often they are called outside tests and generated code.
- prod calls
- 28,070
- non-test, non-generated
- all calls
- 82,528
- total callsites
- functions
- 28
- ranked in this snapshot
- origin
- std
- standard-library
members
Functions in log/slog
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| Logger.Debug | 4,002 |
| String | 3,549 |
| Logger.Error | 2,504 |
| Logger.Info | 2,484 |
| Any | 2,259 |
| Logger.Warn | 1,988 |
| Debug | 1,981 |
| Warn | 1,863 |
| Error | 1,394 |
| Info | 1,116 |
| Logger.With | 730 |
| Int64 | 672 |
| Int | 561 |
| New | 501 |
| Default | 452 |
| Logger.DebugContext | 437 |
| Logger.Enabled | 203 |
| Logger.ErrorContext | 202 |
| Bool | 176 |
| Logger.InfoContext | 160 |
| Logger.WarnContext | 151 |
| Logger.LogAttrs | 126 |
| NewTextHandler | 118 |
| Float64 | 109 |
| Logger.Handler | 97 |
| StringValue | 85 |
| Duration | 77 |
| Group | 73 |