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

ignorepc.go

Directories

PathSynopsis
log/slog/internal/benchmarksPackage benchmarks contains benchmarks for slog.
log/slog/internal/bufferPackage buffer provides a pool-allocated byte buffer.
log/slog/internal/slogtestPackage slogtest contains support functions for testing slog.
Version
v1.21.0
Published
Aug 4, 2023
Platform
darwin/amd64
Last checked
2 minutes ago

Tools for package owners.