minor wording update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
# lumberjack [](https://godoc.org/github.com/natefinch/lumberjack)
|
||||
# lumberjack [](https://godoc.org/github.com/natefinch/lumberjack)
|
||||
|
||||
[](https://travis-ci.org/natefinch/lumberjack)
|
||||
|
||||
@@ -55,7 +55,7 @@ const (
|
||||
``` go
|
||||
func IsWriteTooLong(err error) bool
|
||||
```
|
||||
IsWriteTooLong returns whether the given error reports a write to Logger that
|
||||
IsWriteTooLong reports whether the given error indicates a Write with data that
|
||||
exceeds the Logger's MaxSize.
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -358,8 +358,8 @@ func (b byFormatTime) time(i int) time.Time {
|
||||
return t
|
||||
}
|
||||
|
||||
// IsWriteTooLong returns whether the given error reports a write to Logger that
|
||||
// exceeds the Logger's MaxSize.
|
||||
// IsWriteTooLong reports whether the given error indicates a Write with data
|
||||
// that exceeds the Logger's MaxSize.
|
||||
func IsWriteTooLong(err error) bool {
|
||||
if err == nil {
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user