vcert
vcert copied to clipboard
Set log prefix in main.go instead of endpoint.go
vCert sets a log prefix on the global logger in endpoint.go.
This unexpectedly alters the logger when importing vCert.
In order to not modify the global logger when importing vCert as a go library, I moved the SetPrefix
call to main.go
which is only used in the vCert binary but when importing vCert as a library.