summaryrefslogtreecommitdiffstats
path: root/src/log/slog/internal/ignorepc.go
blob: d1256426ff22f8fbb87c64648bd8ed1ec4ba3808 (plain)
1
2
3
4
5
6
7
8
9
// Copyright 2023 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package internal

// If IgnorePC is true, do not invoke runtime.Callers to get the pc.
// This is solely for benchmarking the slowdown from runtime.Callers.
var IgnorePC = false