destructurama / fsharp

Native support for destructuring F# types when logging to Serilog.
Apache License 2.0
38 stars 10 forks source link

How to declare from app.config? #24

Closed Evangelink closed 9 months ago

Evangelink commented 3 years ago

Hi,

I could not find how to declare the .Destructure.FSharpTypes() part inside the app.config file. Any idea how to?

baronfel commented 3 years ago

That's a great question. I don't use the file-based configuration myself, so I'm not really equipped to answer that question.

sungam3r commented 9 months ago

@Evangelink please see https://github.com/serilog/serilog-settings-appsettings?tab=readme-ov-file#destructuring as a general purpose solution.