Lab 4: Create and Use a Custom Trace Listener 创建和使用自定义跟踪监听器
To create a custom Trace Listener 创建一个自定义跟踪监听器
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Logging;
using Microsoft.Practices.EnterpriseLibrary.Logging.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners;
To use a custom Trace Listener 使用自定义的跟踪监听器
To view the Trace Listener output查看跟踪监听器的输出
联系客服