package internal
import "log/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 ¶
Directories ¶
Path | Synopsis |
---|---|
log/slog/internal/benchmarks | Package benchmarks contains benchmarks for slog. |
log/slog/internal/buffer | Package buffer provides a pool-allocated byte buffer. |
log/slog/internal/slogtest | Package slogtest contains support functions for testing slog. |
- Version
- v1.21.0-rc.4
- Published
- Aug 1, 2023
- Platform
- js/wasm
- Last checked
- 1 minute ago –
Tools for package owners.