private static org.apache.logging.log4j.Marker getMarker(final Marker marker) {
if (marker == null) {
return null;
} else if (marker instanceof Log4jMarker) {
return ((Log4jMarker) marker).getLog4jMarker();
} else {
final Log4jMarkerFactory factory = (Log4jMarkerFactory) StaticMarkerBinder.SINGLETON.getMarkerFactory();
return ((Log4jMarker) factory.getMarker(marker)).getLog4jMarker();
}
}
Log4jLogger.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:logging-log4j2
作者:
评论列表
文章目录