...

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

View as plain text