Skip to content

Commit 76c3b29

Browse files
author
seankang
committed
go-file-rotatelogs has been archived by the owner,change to file-rotatelogs
1 parent bf53994 commit 76c3b29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ If no formatter is provided via `lfshook.NewHook`, a default text formatter will
3939

4040
### Log rotation
4141
In order to enable automatic log rotation it's possible to provide an io.Writer instead of the path string of a log file.
42-
In combination with packages like [go-file-rotatelogs](https://github.com/lestrrat/go-file-rotatelogs) log rotation can easily be achieved.
42+
In combination with packages like [file-rotatelogs](https://github.com/lestrrat-go/file-rotatelogs) log rotation can easily be achieved.
4343

4444
```go
4545
package main
4646

4747
import (
48-
"github.com/lestrrat/go-file-rotatelogs"
48+
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
4949
"github.com/rifflock/lfshook"
5050
"github.com/sirupsen/logrus"
5151
)

0 commit comments

Comments
 (0)