【发布时间】:2011-09-17 19:24:08
【问题描述】:
我的 Web 应用程序中有以下 NLog.config,但对话框如何/何时打开并显示信息,或者我是否需要启动它并导航到特定目录或其他内容?
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.netfx35.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<targets>
<target xsi:type="ColoredConsole"
name="Debug"
layout="${message} ${exception}">
<highlight-row backgroundColor="Black"
foregroundColor="DarkCyan"
condition="true"/>
</target>
</targets>
<rules>
<logger name="Raven.Client.*" writeTo="Debug"/>
</rules>
</nlog>
【问题讨论】: