summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.24/src/runtime/debuglog_off.go
blob: 4eb59fa683e3015bb8705451f9829da7305f2211 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2019 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.

//go:build !debuglog

package runtime

const dlogEnabled = false

type dlogger = dloggerFake

func dlog1() dloggerFake {
	return dlogFake()
}

type dlogPerM struct{}

func getCachedDlogger() *dloggerImpl {
	return nil
}

func putCachedDlogger(l *dloggerImpl) bool {
	return false
}