func New(logger *zap.Logger, cfg config.Alerts) *Alerter {
	return &Alerter{
		logger: logger.Named("alerter"),
		cfg:    cfg,
		twilio: twilio.NewClient(cfg.SID, cfg.AuthToken, nil),
	}
}
// New returns a new alerter service
New returns a new alerter service
// New returns a new alerter service
func New(logger *zap.Logger, cfg config.Alerts) *Alerter {
	return &Alerter{
		logger: logger.Named("alerter"),
		cfg:    cfg,
		twilio: twilio.NewClient(cfg.SID, cfg.AuthToken, nil),
	}
}
func New ( logger * zap . Logger , cfg config . Alerts ) * Alerter { return & Alerter { logger : logger . Named ( " " ) , cfg : cfg , twilio : twilio . NewClient ( cfg . SID , cfg . AuthToken , nil ) , } }
New returns a new alerter service
New returns a new alerter service