Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 507 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 507 Bytes

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())
                     .target(GitHub.class, "https://api.github.com");