4 Disable log output during tests

golangcode.com posted by Edd Turtle 1307 days ago  

It’s quite common to use the log package within your code to keep track of things which the end user might not need to see, like deprecated notices and warnings. These are great when they are in production and you are monitoring the logs - but they will show up during your tests.

Register to comment or vote on this story