Skip to content

"Source" is not a Property of TelegramLoggerOptions #56

Description

@msiggi

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions