Skip to content

Commit de29343

Browse files
authored
Fix documentation to match code (#23)
The type of the `Writer` field was changed from `*syslog.Writer` to `io.Writer` back in commit de8e7b7, but the README file still gives the old definition.
1 parent 4a703d7 commit de29343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ type Option struct {
9292
Level slog.Leveler
9393

9494
// connection to syslog server
95-
Writer *syslog.Writer
95+
Writer io.Writer
9696

9797
// optional: customize json payload builder
9898
Converter Converter

0 commit comments

Comments
 (0)