Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Source" is not a Property of TelegramLoggerOptions #56

Open
msiggi opened this issue Jan 3, 2025 · 0 comments
Open

"Source" is not a Property of TelegramLoggerOptions #56

msiggi opened this issue Jan 3, 2025 · 0 comments

Comments

@msiggi
Copy link

msiggi commented Jan 3, 2025

In the current Version 2.0.2 it the Source-Property not available anymore:

public record TelegramLoggerOptions
{
    public Dictionary<string, LogLevel> LogLevel { get; set; }

    public string AccessToken { get; set; } = "";


    public string ChatId { get; set; } = "";


    public FormatterConfiguration FormatterConfiguration { get; set; } = X.Extensions.Logging.Telegram.Base.Configuration.FormatterConfiguration.Default;


    public TelegramLoggerOptions()
        : this(Microsoft.Extensions.Logging.LogLevel.Information)
    {
    }

    public TelegramLoggerOptions(LogLevel logLevel)
    {
        LogLevel = new Dictionary<string, LogLevel> { { "Default", logLevel } };
    }
}

Is it a (breaking) change or an issue?

@msiggi msiggi mentioned this issue Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant