func SetDebug(debug bool) {
	if raceDetector {
		globalMutex.Lock()
		defer globalMutex.Unlock()
	}
	globalDebug = debug
}
func SetDebug(debug bool) {
	if raceDetector {
		globalMutex.Lock()
		defer globalMutex.Unlock()
	}
	globalDebug = debug
}
func SetDebug ( debug bool ) { if raceDetector { globalMutex . Lock ( ) defer globalMutex . Unlock ( ) } globalDebug = debug }
// Enable the delivery of debug messages to the logger.  Only meaningful
// if a logger is also set.
Enable the delivery of debug messages to the logger . Only meaningful if a logger is also set .