Log4net xml output

后端 未结 3 1993
忘了有多久
忘了有多久 2020-11-29 06:07

I want full control over log4net xml output.

How is it possible to customize the output template?

3条回答
  •  情书的邮戳
    2020-11-29 06:47

    Adding to Darin's answer, in log4net 2.0.8, I had to change the layout a little:

    
    

    I found this here http://www.codewrecks.com/blog/index.php/2008/04/29/writing-a-custom-formatter-for-log4net/

提交回复
热议问题