From 03e9c77b42d65a71af88d1dc0aaef43e08b592f8 Mon Sep 17 00:00:00 2001 From: Nate Finch Date: Mon, 16 Jun 2014 09:52:57 -0400 Subject: [PATCH] remove erroneous old comment --- README.md | 2 +- lumberjack.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()