From c2e4b48cafccbf07e19cae2ca8e387cf12063261 Mon Sep 17 00:00:00 2001 From: Kane Date: Tue, 14 Jun 2022 23:55:00 +0800 Subject: [PATCH] lestrrat-go -> iproj There'rs some bugs in lestrrat-go, fix it https://github.com/iproj/file-rotatelogs/issues/1 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ece313e..bd6a90f 100644 --- a/README.md +++ b/README.md @@ -39,13 +39,13 @@ If no formatter is provided via `lfshook.NewHook`, a default text formatter will ### Log rotation In order to enable automatic log rotation it's possible to provide an io.Writer instead of the path string of a log file. -In combination with packages like [file-rotatelogs](https://github.com/lestrrat-go/file-rotatelogs) log rotation can easily be achieved. +In combination with packages like [file-rotatelogs](https://github.com/iproj/file-rotatelogs) log rotation can easily be achieved. ```go package main import ( - rotatelogs "github.com/lestrrat-go/file-rotatelogs" + rotatelogs "github.com/iproj/file-rotatelogs" "github.com/rifflock/lfshook" "github.com/sirupsen/logrus" )