Skip to content

Enable config UDF in appsetting.json #90

@ryji

Description

@ryji

Is your feature request related to a problem? Please describe.
I'd like to write a list of UDFs (user-define functions) and config it in appsettings.json file, but now seems no document about this.

Describe the solution you'd like

  "formatter":{
  "type":"Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
  "template":"{ {@p.. } }"
  "nameResolver": {
    "type":"Serilog.Expressions.StaticMemberNameResolver, Serilog.Expressions",
    "Args":{
      "type": "UDF-type, UDF-dllName"
    }
  }
}

Describe alternatives you've considered
N.A

Additional context
N.A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions