是否可以在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
Run Code Online (Sandbox Code Playgroud)
所有的帮助非常感谢
问候
保罗J.