private static void assertLogLevel(LoggingEvent event, Level level) {
switch (level) {
case TRACE:
assertEquals(org.slf4j.event.Level.TRACE, event.getLevel());
break;
case DEBUG:
assertEquals(org.slf4j.event.Level.DEBUG, event.getLevel());
break;
case INFO:
assertEquals(org.slf4j.event.Level.INFO, event.getLevel());
break;
case WARN:
assertEquals(org.slf4j.event.Level.WARN, event.getLevel());
break;
}
}
LoggingObserverShould.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:core-java
作者:
评论列表
文章目录