Output glog from go test
If you’re using glog in your Go codes, you can output those when running go test ...
by using the --args
parameter:
$ go test -v ./... -count=1 -cover -race -mod=vendor --args --logtostderr --v=1
If you have any questions or feedback, please reach out @flowerinthenyt.