Cav.Logger.Telegram 0.4.0

dotnet add package Cav.Logger.Telegram --version 0.4.0                
NuGet\Install-Package Cav.Logger.Telegram -Version 0.4.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Cav.Logger.Telegram" Version="0.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Cav.Logger.Telegram --version 0.4.0                
#r "nuget: Cav.Logger.Telegram, 0.4.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Cav.Logger.Telegram as a Cake Addin
#addin nuget:?package=Cav.Logger.Telegram&version=0.4.0

// Install Cav.Logger.Telegram as a Cake Tool
#tool nuget:?package=Cav.Logger.Telegram&version=0.4.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 Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.4.0 163 10/10/2024
0.3.0 188 5/9/2024