Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 1, 2024. It is now read-only.
This repository was archived by the owner on Jun 1, 2024. It is now read-only.

Enable configuration of IndexDecider also from a config file #577

Open
@kbalys

Description

@kbalys

New feature request

Please describe the current behavior?

Currently IndexDecider setting can be set only from code.

public Func<LogEvent, DateTimeOffset, string> IndexDecider { get; set; }

I would like to have a possibility to set IndexDecider from configuration as well.

Please describe the expected behavior?
LoggerConfigurationElasticsearchExtensions.Elasticsearch should be changed to include IndexDecider as well which can be a string in class name, assembly format. Additionally, we would need an interface or base class which can be used for this setting with a single property which matches the definition of IndexDecider. The code in LoggerConfigurationElasticsearchExtensions.Elasticsearch can activate the class name provided by configuration and assign its property to the options.IndexDecider property

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp