...

Source file src/runtime/debuglog_off.go

Documentation: runtime

		 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  // +build !debuglog
		 7  
		 8  package runtime
		 9  
		10  const dlogEnabled = false
		11  
		12  type dlogPerM struct{}
		13  
		14  func getCachedDlogger() *dlogger {
		15  	return nil
		16  }
		17  
		18  func putCachedDlogger(l *dlogger) bool {
		19  	return false
		20  }
		21  

View as plain text