serilog-expressions
serilog-expressions copied to clipboard
Enable config UDF in appsetting.json
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
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.