Adding test on StdErrLog.isDebugEnabled()

This commit is contained in:
Joakim Erdfelt 2011-10-24 10:35:06 -07:00
parent ae16ccd918
commit b87cbd1181
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ public class StdErrLogTest
// Level Debug
log.setLevel(StdErrLog.LEVEL_DEBUG);
log.debug("my hovercraft is");
Assert.assertThat("log should report as debug enabled", log.isDebugEnabled(), is(true));
// Level All
log.setLevel(StdErrLog.LEVEL_ALL);