func TestDebugFEnabled(t *testing.T) { log.ShowDebug = true log.Debugf("debugf: %s", "should show") log.ShowDebug = false }
func TestDebugF(t *testing.T) { log.Debugf("debugf: %s", "should not show") log.ShowDebug = false }