org.springframework.core.log.LogDelegateFactory Java Examples
The following examples show how to use
org.springframework.core.log.LogDelegateFactory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SimpLogging.java From spring-analysis-note with MIT License | 2 votes |
/** * 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); }
Example #2
Source File: HttpLogging.java From spring-analysis-note with MIT License | 2 votes |
/** * 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); }
Example #3
Source File: SimpLogging.java From java-technology-stack with MIT License | 2 votes |
/** * 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); }
Example #4
Source File: HttpLogging.java From java-technology-stack with MIT License | 2 votes |
/** * 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); }