Skip to content

Commit

Permalink
docs: use adapter.SetDataset instead of WithDatasetName
Browse files Browse the repository at this point in the history
  • Loading branch information
418Coffee authored and lukasmalkmus committed Jan 5, 2025
1 parent fd2b147 commit 0720dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/zerolog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
```
Expand Down

0 comments on commit 0720dba

Please sign in to comment.