类:TracingChannel


¥Class: TracingChannel

稳定性: 1 - 实验性的

¥Stability: 1 - Experimental

TracingChannelTracingChannel 通道 的集合,它们一起表示单个可追踪的动作。它用于形式化和简化生成事件以跟踪应用流的过程。diagnostics_channel.tracingChannel() 用于构建 TracingChannel。与 Channel 一样,建议在文件的顶层创建和重用单个 TracingChannel,而不是动态创建它们。

¥The class TracingChannel is a collection of TracingChannel Channels which together express a single traceable action. It is used to formalize and simplify the process of producing events for tracing application flow. diagnostics_channel.tracingChannel() is used to construct a TracingChannel. As with Channel it is recommended to create and reuse a single TracingChannel at the top-level of the file rather than creating them dynamically.