code: func NewLogger(conf *Config, db *reform.DB) (log.Logger, error) {
  	l := &dbLogger{db: db}
  
  	base, err := log.NewLoggerBase(conf.BaseConfig, l.log)
  	if err != nil {
  		return nil, err
  	}
  
  	l.LoggerBase = base
  	return l, nil
  }
docs: // NewLogger creates a new database logger.