Class DefaultFeignLoggerFactory

java.lang.Object
org.springframework.cloud.openfeign.DefaultFeignLoggerFactory
All Implemented Interfaces:
FeignLoggerFactory

public class DefaultFeignLoggerFactory extends Object implements FeignLoggerFactory
Author:
Venil Noronha, Olga Maciaszek-Sharma
  • Constructor Details

    • DefaultFeignLoggerFactory

      public DefaultFeignLoggerFactory(feign.Logger logger)
  • Method Details

    • create

      public feign.Logger create(Class<?> type)
      Description copied from interface: FeignLoggerFactory
      Factory method to provide a Logger for a given Class.
      Specified by:
      create in interface FeignLoggerFactory
      Parameters:
      type - the Class for which a Logger instance is to be created
      Returns:
      a Logger instance