The database logger should be set by its creator

This commit is contained in:
Kevin Cotugno 2017-10-01 22:48:00 -07:00
parent b1c3573e8f
commit bdca32c50d

View File

@ -23,7 +23,6 @@ func (r *Registrar) Record(products ...string) error {
}
func (r *Registrar) SetLogger(logger tacitus.Logger) {
r.Database.SetLogger(logger)
r.Listener.SetLogger(logger)
r.logger = logger
}