test: Add custom flag to enable debug logs for benchmarks
test: Add custom flag to enable debug logs for benchmarks

Because it can be annoying to get too much logs from benchmarks,
this patch sets the log level to ErrorLevel by default.

It also allows users running benchmarks to specify "debug-logs" as
a custom flags with the following command:
$ go test -bench=. -args debug-logs

This flag sets the log level to DebugLevel.

Signed-off-by: Sebastien Boeuf <90b401417360b1924ef3f520ddee932686110f85@intel.com>

containers/virtcontainers,containers/virtcontainers