chore: minor
This commit is contained in:
parent
535c94c2fe
commit
2cd16f811b
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ func (l *logger) All(areas []string, level jww.Threshold, count int) []string {
|
|||
}
|
||||
}
|
||||
|
||||
if count > 0 && len(res) >= count {
|
||||
if count > 0 && len(res) > count {
|
||||
res = res[len(res)-count:]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue