openFeign 服务接口的调用04——OpenFeign 日志打印功能







FeignConfig.java

package com.dym.springcloud.config;

import feign.Logger;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


@Configuration
public class FeignConfig
{
    @Bean
    Logger.Level feignLoggerLevel()
    {
        return Logger.Level.FULL;
    }
}

猜你喜欢

转载自blog.csdn.net/qq_39368007/article/details/114389472