fix: document New-func

This commit is contained in:
2021-01-27 09:12:05 +01:00
parent 4e2a280ad1
commit 36550f85e6
+1
View File
@@ -40,6 +40,7 @@ func (m *Mock) HandleLog(entry *log.Entry) error {
var _ log.Handler = &Mock{}
// New instantiates a new Mock and sets the log.Handler to it
func New() *Mock {
mock := &Mock{
Logger: log.Log,