Java 类org.springframework.boot.logging.DeferredLog 实例源码

项目:https-github.com-g0t4-jenkins2-course-spring-boot    文件:Restarter.java   
/**
 * Called to finish {@link Restarter} initialization when application logging is
 * available.
 */
void finish() {
    synchronized (this.monitor) {
        if (!isFinished()) {
            this.logger = DeferredLog.replay(this.logger,
                    LogFactory.getLog(getClass()));
            this.finished = true;
        }
    }
}
项目:spring-boot-concourse    文件:Restarter.java   
/**
 * Called to finish {@link Restarter} initialization when application logging is
 * available.
 */
synchronized void finish() {
    if (!isFinished()) {
        this.logger = DeferredLog.replay(this.logger, LogFactory.getLog(getClass()));
        this.finished = true;
    }
}
项目:contestparser    文件:Restarter.java   
/**
 * Called to finish {@link Restarter} initialization when application logging is
 * available.
 */
synchronized void finish() {
    if (!isFinished()) {
        this.logger = DeferredLog.replay(this.logger, LogFactory.getLog(getClass()));
        this.finished = true;
    }
}