From 0720dba1b5b107c0a1709b65cf6a2d9df3589a78 Mon Sep 17 00:00:00 2001 From: 418Coffee Date: Mon, 30 Dec 2024 13:26:08 +0100 Subject: [PATCH] docs: use adapter.SetDataset instead of WithDatasetName --- adapters/zerolog/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adapters/zerolog/README.md b/adapters/zerolog/README.md index cde7ed0..8c431f8 100644 --- a/adapters/zerolog/README.md +++ b/adapters/zerolog/README.md @@ -21,7 +21,7 @@ function: ```go writer, err := adapter.New( - WithDatasetName("logs"), + adapter.SetDataset("logs"), ) l.Logger = zerolog.New(io.MultiWriter(writer, os.Stderr)).With().Timestamp().Logger() ```