Godeps/_workspace/src/gopkg.in/mgo.v2/log.go
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.