Class LoggingTemplateContextCustomizerConfiguration
java.lang.Object
io.github.yvasyliev.forwarder.telegram.logging.configuration.LoggingTemplateContextCustomizerConfiguration
Configuration for logging template context customizers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontelegramBotAppenderPropertiesSetter(TelegramBotAppenderProperties botAppenderProperties) Creates aTemplateContextCustomizerthat sets the Telegram bot appender properties in the template context.
-
Constructor Details
-
LoggingTemplateContextCustomizerConfiguration
public LoggingTemplateContextCustomizerConfiguration()
-
-
Method Details
-
telegramBotAppenderPropertiesSetter
@Bean @ConditionalOnMissingBean(name="telegramBotAppenderPropertiesSetter") public TemplateContextCustomizer telegramBotAppenderPropertiesSetter(TelegramBotAppenderProperties botAppenderProperties) Creates aTemplateContextCustomizerthat sets the Telegram bot appender properties in the template context.- Parameters:
botAppenderProperties- the Telegram bot appender properties- Returns:
- the template context customizer
-