Trace and Debug Settings Schema
Trace and debug settings specify trace listeners that collect, store, and route messages, and the level where a trace switch is set.
The following table describes the function of each trace and debug settings element.
Element | Description |
---|---|
<add> | Adds a listener to the Listeners collection for a trace source. |
<add> | Adds a listener to the Listeners collection. |
<add> | Adds a listener to the sharedListeners collection. |
<add> | Specifies the level where a trace switch is set. |
<assert> | Specifies whether to display a message box when you call the Debug.Assert method; also specifies the name of the file to write messages to. |
<clear> | Clears the Listeners collection for a trace source. |
<clear> | Clears the Listeners collection for trace. |
<filter> | Adds a filter to a listener in the Listeners collection for a trace source. |
<filter> | Adds a filter to a listener in the Listeners collection for trace. |
<filter> | Adds a filter to a listener in the sharedListeners collection. |
<listeners> | Specifies listeners for the Listeners collection for a trace source. |
<listeners> | Specifies listeners for the Listeners collection for trace. |
<performanceCounters> | Specifies the size of the global memory shared by performance counters. |
<remove> | Removes a listener from the Listeners collection for trace. |
<remove> | Removes a listener from the Listeners collection for a trace source. |
<sharedListeners> | Contains listeners that any source or trace element can reference. |
<sources> | Contains trace sources that initiate tracing messages. |
<source> | Specifies a trace source that initiates tracing messages. |
<switches> | Contains trace switches and the level where the trace switches are set. |
<system.diagnostics> | Specifies trace listeners that collect, store, and route messages and the level where a trace switch is set. |
<trace> | Contains listeners that collect, store, and route tracing messages. |
See also
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre