Initial commit: Go 1.23 release state
This commit is contained in:
19
src/runtime/debuglog_off.go
Normal file
19
src/runtime/debuglog_off.go
Normal file
@@ -0,0 +1,19 @@
|
||||
// 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 dlogPerM struct{}
|
||||
|
||||
func getCachedDlogger() *dlogger {
|
||||
return nil
|
||||
}
|
||||
|
||||
func putCachedDlogger(l *dlogger) bool {
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user