Skip to content

Commit 9af68c4

Browse files
committed
♻️ refactor: update README.md #4
1 parent efeadfe commit 9af68c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/slogger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ log := slogger.NewLogger().
713713
WithLevel(slogger.InfoLevel).
714714
WithFormatter(slogger.NewJSONFormatter()).
715715
WithOutput(os.Stdout).
716-
WithRotation(*slogger.NewRotationOptions().
716+
WithRotation(slogger.NewRotationOptions().
717717
WithDirectory("logs"). // base directory; created if absent
718718
WithMaxBytes(50 * 1024 * 1024). // rotate at 50 MiB
719719
WithMaxAge(24 * time.Hour). // or after 24 hours, whichever comes first

0 commit comments

Comments
 (0)