Class LoggingAutoConfiguration
java.lang.Object
io.github.yvasyliev.forwarder.telegram.logging.configuration.LoggingAutoConfiguration
@AutoConfiguration
@ConditionalOnProperty(name="logging.telegram-bot-appender.enabled",
havingValue="true",
matchIfMissing=true)
@Import({LoggingConfiguration.class,LoggingMapperConfiguration.class,LoggingTemplateContextCustomizerConfiguration.class})
public class LoggingAutoConfiguration
extends Object
Configuration for the Telegram Bot Appender that sends log messages to a Telegram chat.
The appender is enabled by default and can be disabled by setting
logging.telegram-bot-appender.enabled=false property.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LoggingAutoConfiguration
public LoggingAutoConfiguration()
-