diff --git a/README.md b/README.md index a470ed2..eedfcd9 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,7 @@ func (l *Logger) Write(p []byte) (n int, err error) Write implements io.Writer. If a write would cause the log file to be larger than MaxSize, a new log file is created using the current time formatted with PathFormat. If the length of the write is greater than MaxSize, an error is -returned that satisfies IsWriteTooLong. +returned. diff --git a/lumberjack.go b/lumberjack.go index 7024a3e..e596404 100644 --- a/lumberjack.go +++ b/lumberjack.go @@ -119,7 +119,7 @@ var currentTime = time.Now // Write implements io.Writer. If a write would cause the log file to be larger // than MaxSize, a new log file is created using the current time formatted with // PathFormat. If the length of the write is greater than MaxSize, an error is -// returned that satisfies IsWriteTooLong. +// returned. func (l *Logger) Write(p []byte) (n int, err error) { l.mu.Lock() defer l.mu.Unlock()