We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efeadfe commit 9af68c4Copy full SHA for 9af68c4
1 file changed
pkg/slogger/README.md
@@ -713,7 +713,7 @@ log := slogger.NewLogger().
713
WithLevel(slogger.InfoLevel).
714
WithFormatter(slogger.NewJSONFormatter()).
715
WithOutput(os.Stdout).
716
- WithRotation(*slogger.NewRotationOptions().
+ WithRotation(slogger.NewRotationOptions().
717
WithDirectory("logs"). // base directory; created if absent
718
WithMaxBytes(50 * 1024 * 1024). // rotate at 50 MiB
719
WithMaxAge(24 * time.Hour). // or after 24 hours, whichever comes first
0 commit comments