2
0

remove erroneous old comment

This commit is contained in:
Nate Finch
2014-06-16 09:52:57 -04:00
parent 7067ec8bae
commit 03e9c77b42
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 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 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 PathFormat. If the length of the write is greater than MaxSize, an error is
returned that satisfies IsWriteTooLong. returned.
+1 -1
View File
@@ -119,7 +119,7 @@ var currentTime = time.Now
// Write implements io.Writer. If a write would cause the log file to be larger // 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 // 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 // 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) { func (l *Logger) Write(p []byte) (n int, err error) {
l.mu.Lock() l.mu.Lock()
defer l.mu.Unlock() defer l.mu.Unlock()