Test-More / TB2

Test::Builder version 2, the next generation of building testing modules in Perl
Other
1 stars 0 forks source link

Change the Log event to use symbolic levels, not numbers #134

Closed schwernbot closed 10 years ago

schwernbot commented 10 years ago

From: @schwern Date: Tuesday Jan 18, 2011 at 01:24 GMT Orig: https://github.com/Test-More/test-more/issues/111

Change the Log event to use symbolic levels, not numbers. This lets us insert new levels later.

It will still return an ordered list of symbolic levels which can be used to determine ordering at run time.

schwernbot commented 10 years ago

From: @schwern Date: Thursday Feb 03, 2011 at 07:00 GMT Orig: https://github.com/Test-More/test-more/issues/111#issuecomment-734949

Implement log level comparison via between_levels()

This is deliberately minimalist to avoid YAGNI and encourage range based level comparison.

Also: Incompatible

Closed by 4ee7cbe9a86a1dbeb8c954fcb1e824aa3327ef5c