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
- 26,822
- non-test, non-generated
- all calls
- 78,006
- 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 | 3,788 |
| String | 3,251 |
| Logger.Info | 2,412 |
| Logger.Error | 2,387 |
| Any | 2,220 |
| Debug | 1,991 |
| Logger.Warn | 1,872 |
| Warn | 1,751 |
| Error | 1,367 |
| Info | 1,079 |
| Logger.With | 704 |
| Int64 | 645 |
| Int | 519 |
| New | 471 |
| Logger.DebugContext | 435 |
| Default | 422 |
| Logger.ErrorContext | 202 |
| Logger.Enabled | 189 |
| Bool | 164 |
| Logger.InfoContext | 155 |
| Logger.WarnContext | 142 |
| Logger.LogAttrs | 122 |
| NewTextHandler | 111 |
| Float64 | 105 |
| Logger.Handler | 94 |
| StringValue | 79 |
| Duration | 76 |
| Group | 69 |