From 6383fe40c57aaa61a11d77c31657791dcfd61121 Mon Sep 17 00:00:00 2001 From: d00221763 Date: Tue, 10 Feb 2015 16:49:34 +0800 Subject: [PATCH] fix typo Signed-off-by: Deng Guangxing --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6227b3f..973af3c 100644 --- a/README.md +++ b/README.md @@ -347,7 +347,7 @@ func (f *JSONFormatter) Format(entry *Entry) ([]byte, error) { #### Logger as an `io.Writer` -Logrus can be transormed into an `io.Writer`. That writer is the end of an `io.Pipe` and it is your responsability to close it. +Logrus can be transormed into an `io.Writer`. That writer is the end of an `io.Pipe` and it is your responsibility to close it. ```go w := logger.Writer() @@ -366,7 +366,7 @@ and hooks. The level for those entries is `info`. #### Rotation Log rotation is not provided with Logrus. Log rotation should be done by an -external program (like `logrotated(8)`) that can compress and delete old log +external program (like `logrotate(8)`) that can compress and delete old log entries. It should not be a feature of the application-level logger.