Feign makes writing java http clients easier
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Marvin Froeder 9613adb7b8 Update license headers on releases 2 years ago
..
src Fixed dangling javadoc comment warning by applying new mapping (#1568) 3 years ago
README.md Recommend FULL logging level when using SLF4J (#1146) 5 years ago
pom.xml Update license headers on releases 2 years ago

README.md

SLF4J

This module allows directing Feign's logging to SLF4J, allowing you to easily use a logging backend of your choice (Logback, Log4J, etc.)

To use SLF4J with Feign, add both the SLF4J module and an SLF4J binding of your choice to your classpath. Then, configure Feign to use the Slf4jLogger:

GitHub github = Feign.builder()
                     .logger(new Slf4jLogger())
                     .logLevel(Level.FULL)
                     .target(GitHub.class, "https://api.github.com");