1
0
mirror of https://github.com/volatiletech/authboss.git synced 2024-11-24 08:42:17 +02:00

Add mock logger

This commit is contained in:
Aaron L 2018-04-30 18:21:28 -07:00
parent f594d1d556
commit 563fd622be

View File

@ -203,3 +203,8 @@ func (m mockEmailRenderer) Render(ctx context.Context, name string, data HTMLDat
panic("shouldn't get here")
}
}
type mockLogger struct{}
func (m mockLogger) Info(s string) {}
func (m mockLogger) Error(s string) {}