类org.springframework.core.log.LogDelegateFactory源码实例Demo

下面列出了怎么用org.springframework.core.log.LogDelegateFactory的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: spring-analysis-note   文件: SimpLogging.java
/**
 * Wrap the given primary logger with a composite logger that delegates to
 * either the primary or to the shared fallback logger
 * "org.springframework.web.HttpLogging", if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
	return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
 
源代码2 项目: spring-analysis-note   文件: HttpLogging.java
/**
 * Wrap the given primary logger with a composite logger that delegates to
 * it or to the fallback logger "org.springframework.web.HttpLogging",
 * if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
	return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
 
源代码3 项目: java-technology-stack   文件: SimpLogging.java
/**
 * Wrap the given primary logger with a composite logger that delegates to
 * either the primary or to the shared fallback logger
 * "org.springframework.web.HttpLogging", if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
	return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
 
源代码4 项目: java-technology-stack   文件: HttpLogging.java
/**
 * Wrap the given primary logger with a composite logger that delegates to
 * it or to the fallback logger "org.springframework.web.HttpLogging",
 * if the primary is not enabled.
 * @param primaryLogger the primary logger to use
 * @return the resulting composite logger
 */
public static Log forLog(Log primaryLogger) {
	return LogDelegateFactory.getCompositeLog(primaryLogger, fallbackLogger);
}
 
 类所在包
 类方法
 同包方法