dimanche 12 juin 2016

How to set log level in go test?

Hi I am running my unit tests by using: godep go test -v -run TestMyCode,

but I did not find a way to show my info logs in my tests:

glog.V(4).Infof("Adding new pods from source %s : %v", source, update.Pods)

Is it possible?

Aucun commentaire:

Enregistrer un commentaire