Example #1
0
func TestDebug(t *testing.T) {
	log.Debug("debug: should not show")
}
Example #2
0
func TestDebugEnabled(t *testing.T) {
	log.ShowDebug = true
	log.Debug("debug: should show")
	log.ShowDebug = false
}