Cav.Logger.Telegram
0.3.0
See the version list below for details.
dotnet add package Cav.Logger.Telegram --version 0.3.0
NuGet\Install-Package Cav.Logger.Telegram -Version 0.3.0
<PackageReference Include="Cav.Logger.Telegram" Version="0.3.0" />
paket add Cav.Logger.Telegram --version 0.3.0
#r "nuget: Cav.Logger.Telegram, 0.3.0"
// Install Cav.Logger.Telegram as a Cake Addin #addin nuget:?package=Cav.Logger.Telegram&version=0.3.0 // Install Cav.Logger.Telegram as a Cake Tool #tool nuget:?package=Cav.Logger.Telegram&version=0.3.0
Логгер в телеграмм
Простейший логгер в телеграм для Microsoft DI. Сборка имеет строгое имя. При отправке большого текста он отправляется файлом. Рекомендуется использовать только в дев/тест/стэйджинг контурах.
Конфигурация
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "None"
},
"Telegram": {
"LogLevel": {
"Default": "Trace"
},
"BotToken": "bot_token",
"ChatId": "chat_id"
}
}
}
Корректно отрабатывается конфигурация "общая" и непосредственно логгера.
Telegram logger
The simplest telegram logger for Microsoft DI. The assembly has a strong name. When sending large text, it is sent as a file. It is recommended to use only in dev/test/staging circuits.
Configuration
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.Hosting.Lifetime": "None"
},
Telegram: {
"LogLevel": {
"Default": "Trace"
},
"BotToken": "bot_token",
"ChatId": "chat_id"
}
}
}
The "general" configuration and the logger itself are correctly worked out.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net7.0
- Microsoft.Extensions.Logging.Configuration (>= 8.0.0)
- RestSharp (>= 110.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.