An implementation of zapcore.Core to feed all data to a zerolog logger.
package main
import (
"os"
"github.com/rs/zerolog"
"go.mau.fi/zerozap"
"go.uber.org/zap"
)
func main() {
mainLog := zerolog.New(os.Stdout)
zapLogger := zap.New(zerozap.New(mainLog))
zapLogger.Info("Hello, world!")
}