Class ConnectSdkCommunicatorLoggerAutoConfiguration

java.lang.Object
com.github.robtimus.connect.sdk.java.springboot.autoconfigure.ConnectSdkCommunicatorLoggerAutoConfiguration

@Configuration @ConditionalOnMissingBean(com.worldline.connect.sdk.java.logging.CommunicatorLogger.class) @ConditionalOnClass({ch.qos.logback.classic.Logger.class,ch.qos.logback.classic.Level.class}) @Conditional(com.github.robtimus.connect.sdk.java.springboot.autoconfigure.ConnectSdkCommunicatorLoggerAutoConfiguration.OnUsesLogbackCondition.class) public class ConnectSdkCommunicatorLoggerAutoConfiguration extends Object
Author:
Rob Spoor
  • Constructor Details

    • ConnectSdkCommunicatorLoggerAutoConfiguration

      public ConnectSdkCommunicatorLoggerAutoConfiguration()
  • Method Details

    • connectSdkCommunicatorLogger

      @Bean public CommunicatorLogger connectSdkCommunicatorLogger(@Value("${connect.api.logger.name:com.worldline.connect.sdk.java.Communicator}") String loggerName, @Value("${connect.api.logger.level:INFO}") String logLevel, @Value("${connect.api.logger.errorLevel:ERROR}") String errorLogLevel)