Skip to content

conversion of xml to json #413

Answered by ckadluba
jobou363 asked this question in Q&A
Aug 25, 2022 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

I'm afraid you cannot do conversion directly with the sink. What you can do though are custom formatters. Have a look at the formatters feature described in the Serilog main repo documentation and also on our sample CustomLogEventFormatterDemo (https://github.com/serilog-mssql/serilog-sinks-mssqlserver/tree/dev/sample/CustomLogEventFormatterDemo).

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@jobou363
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by ckadluba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants