package internal
import "golang.org/x/exp/slog/internal"
Index ¶
Variables ¶
var IgnorePC = false
If IgnorePC is true, do not invoke runtime.Callers to get the pc. This is solely for benchmarking the slowdown from runtime.Callers.
Source Files ¶
ignorepc.go
Directories ¶
| Path | Synopsis |
|---|---|
| slog/internal/buffer | Package buffer provides a pool-allocated byte buffer. |
| slog/internal/testutil | Package testutil contains support functions for testing. |
- Version
- v0.0.0-20260410095643-746e56fc9e2f (latest)
- Published
- Apr 10, 2026
- Platform
- linux/amd64
- Last checked
- 1 week ago –
Tools for package owners.