func (p *Producer) Connect(addr string) (err error) {
	return p.ConnectConfig(addr, nsq.NewConfig())
}
Connect - Connects prodocuer to nsq instance.
package producer
import (
	"encoding/json"
	"log"
	"github.com/crackcomm/nsqueue/nsqlog"
	"github.com/nsqio/go-nsq"
)
type Producer struct {
	Logger   *log.Logger
	LogLevel nsq.LogLevel
	*nsq.Producer
}
func New() *Producer {
	return &Producer{
		Logger:   nsqlog.Logger,
		LogLevel: nsqlog.LogLevel,
	}
}