func (lagerZapLogger *LagerZapLogger) Error(action string, err error, data ...lager.Data) {
	lagerZapLogger.logger.Errorw(action, createFields(data)...)
}
Error logs a message at ErrorLevel. The message includes any fields passed
at the log site, as well as any fields accumulated on the logger.
package main
import (
	"code.cloudfoundry.org/lager"
	"go.uber.org/zap"
)
var _ lager.Logger = &LagerZapLogger{}
type LagerZapLogger struct {
	logger *zap.SugaredLogger
}
func NewLagerZapLogger(zap *zap.SugaredLogger) *LagerZapLogger {
	return &LagerZapLogger{
		logger: zap,
	}
}
func (lagerZapLogger *LagerZapLogger) RegisterSink(sink lager.Sink) {}
func (lagerZapLogger *LagerZapLogger) SessionName() string {
	return ""
}
func (lagerZapLogger *LagerZapLogger) Session(task string, data ...lager.Data) lager.Logger {
	return lagerZapLogger
}
func (lagerZapLogger *LagerZapLogger) WithData(data lager.Data) lager.Logger {
	return lagerZapLogger
}
func (lagerZapLogger *LagerZapLogger) Debug(action string, data ...lager.Data) {
	lagerZapLogger.logger.Debugw(action, createFields(data)...)
}
func (lagerZapLogger *LagerZapLogger) Info(action string, data ...lager.Data) {
	lagerZapLogger.logger.Infow(action, createFields(data)...)
}