.NET Logging Provider for Telegram — now Open and Extensible – Telegram 中文版

Telegram

.NET Logging Provider for Telegram — now Open and Extensible

Improved log level filtering

var options = new TelegramLoggerOptions
{
...
LogLevel = LogLevel.Information,
...
};
{
"Logging": {
"LogLevel": {
...
},
"Telegram": {
"LogLevel": "Warning",
...
}
},
...
}
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
},
"Telegram": {
"LogLevel": {
"Default": "Error",
"WebApp.Controllers": "Warning"
}
,
...
}
},
...
}

Use custom log writer

var customLogWriter = new CustomLogWriter();
logBuilder.AddTelegram(options, customLogWriter);

Use custom message formatter

private ITelegramMessageFormatter CreateFormatter(string name)
{
return new CustomAceTelegramMessageFormatter(name);
}logBuilder..AddTelegram(options, CreateFormatter)

Ten articles before and after

Refer a friend to Opulous for #OpulXmas – Telegram 中文版

Mercor Finance Kicks Off Full Launch Month — Introducing Its Official Telegram Bot – Telegram 中文版

Telegram is the Mos Eisley Cantina (Tatooine) of the Cryptoverse – Telegram 中文版

How to anonymously follow Instagram posts, stories and highlights via Telegram – Telegram 中文版

We Need to Change How We Talk About Technology – Telegram 中文版

Are you getting the message already? – Telegram 中文版

HODLing in Bear Market (DAO). “When the going gets tough , the though… – Telegram 中文版

Unmarshal Telegram Genie Bot. Unmarshal is proud to release the… – Telegram 中文版

5 Reasons Why You Should Change WhatsApp for Telegram – Telegram 中文版

How to keep content in Telegram channels ‘members-only’ – Telegram 中文版

About Me

Pretium lorem primis senectus habitasse lectus donec ultricies tortor adipiscing fusce morbi volutpat pellentesque consectetur risus curae malesuada dignissim lacus convallis massa mauris.