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)
|
[](https://travis-ci.org/natefinch/lumberjack)
|
||||||
|
|
||||||
@@ -55,7 +55,7 @@ const (
|
|||||||
``` go
|
``` go
|
||||||
func IsWriteTooLong(err error) bool
|
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.
|
exceeds the Logger's MaxSize.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -358,8 +358,8 @@ func (b byFormatTime) time(i int) time.Time {
|
|||||||
return t
|
return t
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsWriteTooLong returns whether the given error reports a write to Logger that
|
// IsWriteTooLong reports whether the given error indicates a Write with data
|
||||||
// exceeds the Logger's MaxSize.
|
// that exceeds the Logger's MaxSize.
|
||||||
func IsWriteTooLong(err error) bool {
|
func IsWriteTooLong(err error) bool {
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user