2013-09-25 27 views
2

是否可以在NLog布局中包含回车换行和换行符。我想持有的头信息下面的格式在我所有的日志:在NLog布局中包含回车换行

Application Name: <Application Name> 
    File Version: <Version number> 
    Released: <Release date> 
    User: <Windows User> 
    etc... 

    21|17:07:54|domain\user|Trace| System.OverflowException: Arithmetic operation 
     resulted in an overflow at application.form.Button1_Click(Object sender, 
     EventArgs e) in D:\Documents and  
     Settings\user\Mydocuments\workarea\application\application 
     project\application.vb:line 47 

大加赞赏

问候

的Paul J.

回答