Source file src/log/slog/internal/ignorepc.go
1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package internal 6 7 // If IgnorePC is true, do not invoke runtime.Callers to get the pc. 8 // This is solely for benchmarking the slowdown from runtime.Callers. 9 var IgnorePC = false 10