Closes gh-14597
This commit is contained in:
Johnny Lim
2018-09-25 15:56:37 +09:00
committed by Stephane Nicoll
parent c403ac9db6
commit 698bbd6a9e
6 changed files with 10 additions and 11 deletions

View File

@@ -24,7 +24,6 @@ import org.apache.commons.logging.Log;
import org.springframework.boot.context.event.ApplicationPreparedEvent;
import org.springframework.boot.logging.DeferredLog;
import org.springframework.context.ApplicationListener;
import org.springframework.data.domain.AbstractPageRequest;
/**
* Devtools deferred logging support.
@@ -41,8 +40,8 @@ public final class DevToolsLogFactory {
/**
* Get a {@link Log} instance for the specified source that will be automatically
* {@link DeferredLog#switchTo(Class) switched} then the {@link AbstractPageRequest
* context is prepared}.
* {@link DeferredLog#switchTo(Class) switched} when the
* {@link ApplicationPreparedEvent context is prepared}.
* @param source the source for logging
* @return a {@link DeferredLog} instance
*/