func RawLoggerTo(destWriter io.Writer, development bool, opts ...zap.Option) *zap.Logger {
	return NewRaw(UseDevMode(development), WriteTo(destWriter), RawZapOpts(opts...))
}
RawLoggerTo returns a new zap.Logger configured with KubeAwareEncoder
which logs to a given destination

Deprecated: use NewRaw() and the functional opts pattern instead:

NewRaw(UseDevMode(development), WriteTo(destWriter), RawZapOpts(opts...))
package zap
import (
	"io"
	"os"
	"time"
	"github.com/go-logr/logr"
	"github.com/go-logr/zapr"
	"go.uber.org/zap"
	"go.uber.org/zap/zapcore"
)
func New(opts ...Opts) logr.Logger {
	return zapr.NewLogger(NewRaw(opts...))
}
func Logger(development bool) logr.Logger {
	return LoggerTo(os.Stderr, development)
}
func LoggerTo(destWriter io.Writer, development bool) logr.Logger {
	return zapr.NewLogger(RawLoggerTo(destWriter, development))
}