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

Enable config UDF in appsetting.json #90

Open
ryji opened this issue Feb 6, 2023 · 1 comment
Open

Enable config UDF in appsetting.json #90

ryji opened this issue Feb 6, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ryji
Copy link

ryji commented Feb 6, 2023

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

@ryji ryji added the enhancement New feature or request label Feb 6, 2023
@ryji ryji closed this as not planned Won't fix, can't repro, duplicate, stale Feb 6, 2023
@ryji ryji reopened this Feb 6, 2023
@nblumhardt
Copy link
Member

Hi! Thanks for dropping us a line. This isn't on the cards currently, though if anyone's keen to investigate what might be required that would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants