From 0006e8ce1a5bbf2be3461a014582db0c5581f7bb Mon Sep 17 00:00:00 2001 From: "A. F" Date: Sat, 11 May 2019 00:40:04 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a4796eb..2040b42 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ func main() { log.Out = os.Stdout // You could set this to any `io.Writer` such as a file - // file, err := os.OpenFile("logrus.log", os.O_CREATE|os.O_WRONLY, 0666) + // file, err := os.OpenFile("logrus.log", os.O_CREATE|os.O_WRONLY|os.O_APPEND, 0666) // if err == nil { // log.Out = file // } else {