Reputation: 1077
I am trying to figure out how to specify JsonFormatter in web.config for SeriLog, I am also using rolling file sink and that is specified in the web.config as well.
Upvotes: 2
Views: 1136
Reputation: 31832
There isn't currently any support for specifying custom text formatters in XML with Serilog. Using code to perform this configuration, perhaps based on reading an app setting, is your best bet today.
Upvotes: 1