1 Commits

Author SHA1 Message Date
argoyle 36550f85e6 fix: document New-func 2021-01-27 09:12:05 +01:00
+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,