func (client Client) Send(records []logfwd.Record) error {
	for _, rec := range records {
		msg, err := messageFromRecord(rec)
		if err != nil {
			return errors.Trace(err)
		}
		if err := client.Sender.Send(msg); err != nil {
			return errors.Trace(err)
		}
	}
	return nil
}
// Send sends the record to the remote syslog host.
Send sends the record to the remote syslog host.
// Send sends the record to the remote syslog host .
func (client Client) Send(records []logfwd.Record) error {
	for _, rec := range records {
		msg, err := messageFromRecord(rec)
		if err != nil {
			return errors.Trace(err)
		}
		if err := client.Sender.Send(msg); err != nil {
			return errors.Trace(err)
		}
	}
	return nil
}
func ( client Client ) Send ( records [ ] logfwd . Record ) error { for _ , rec := range records { msg , err := messageFromRecord ( rec ) if err != nil { return errors . Trace ( err ) } if err := client . Sender . Send ( msg ) ; err != nil { return errors . Trace ( err ) } } return nil }
Send sends the record to the remote syslog host.
Send sends the record to the remote syslog host .