In addition to configuring the trace listeners, the configuration file creates filters for both of the listeners and creates a source switch for the trace source.
除了配置跟踪侦听器外,配置文件还同时为这两个侦听器创建筛选器,并为跟踪源创建一个源开关。
The following configuration file example shows how to initialize a console trace listener and a text writer trace listener for the trace source that is created in the preceding procedure.
下面的配置文件示例演示如何为在上述过程中创建的跟踪源初始化控制台跟踪侦听器和文本编写器跟踪侦听器。
In large projects with various components, you can create a separate trace source for each component.
在具有各种元件的大型专案中,您可以为每一个元件建立个别的追踪来源。
In large projects with various components, you can create a separate trace source for each component.
在具有各种元件的大型专案中,您可以为每一个元件建立个别的追踪来源。
应用推荐