chore: minor

This commit is contained in:
andig 2024-04-15 23:30:08 +02:00
parent 535c94c2fe
commit 2cd16f811b

View file

@ -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:]
}