Source file src/runtime/debuglog_off.go
1 // Copyright 2019 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 //go:build !debuglog 6 7 package runtime 8 9 const dlogEnabled = false 10 11 type dlogger = dloggerFake 12 13 func dlog1() dloggerFake { 14 return dlogFake() 15 } 16 17 type dlogPerM struct{} 18 19 func getCachedDlogger() *dloggerImpl { 20 return nil 21 } 22 23 func putCachedDlogger(l *dloggerImpl) bool { 24 return false 25 } 26