Class LoggingTemplateContextCustomizerConfiguration

java.lang.Object
io.github.yvasyliev.forwarder.telegram.logging.configuration.LoggingTemplateContextCustomizerConfiguration

@Configuration public class LoggingTemplateContextCustomizerConfiguration extends Object
Configuration for logging template context customizers.
  • Constructor Details

    • LoggingTemplateContextCustomizerConfiguration

      public LoggingTemplateContextCustomizerConfiguration()
  • Method Details

    • telegramBotAppenderPropertiesSetter

      @Bean @ConditionalOnMissingBean(name="telegramBotAppenderPropertiesSetter") public TemplateContextCustomizer telegramBotAppenderPropertiesSetter(TelegramBotAppenderProperties botAppenderProperties)
      Creates a TemplateContextCustomizer that sets the Telegram bot appender properties in the template context.
      Parameters:
      botAppenderProperties - the Telegram bot appender properties
      Returns:
      the template context customizer