34 references to TraceOptions
Microsoft.VisualBasic.Tests (5)
Microsoft\VisualBasic\Logging\FileLogTraceListenerTests.cs (5)
41
listener.TraceOutputOptions =
TraceOptions
.LogicalOperationStack |
TraceOptions
.DateTime |
TraceOptions
.Timestamp |
TraceOptions
.ProcessId |
TraceOptions
.ThreadId;
netstandard (1)
netstandard.cs (1)
709
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
TraceOptions
))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
547
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.
TraceOptions
))]
System.Configuration.ConfigurationManager (8)
System\Diagnostics\ListenerElementsCollection.cs (8)
83
private static readonly ConfigurationProperty s_propOutputOpts = new("traceOutputOptions", typeof(
TraceOptions
),
TraceOptions
.None, ConfigurationPropertyOptions.None);
127
[ConfigurationProperty("traceOutputOptions", DefaultValue = (
TraceOptions
)
TraceOptions
.None)]
128
public
TraceOptions
TraceOutputOptions
132
return (
TraceOptions
)this[s_propOutputOpts];
186
if (_attributes != null || ElementInformation.Properties[s_propFilter.Name].ValueOrigin == PropertyValueOrigin.SetHere || TraceOutputOptions !=
TraceOptions
.None || !string.IsNullOrEmpty(InitData))
312
if (_attributes != null || ElementInformation.Properties[s_propFilter.Name].ValueOrigin == PropertyValueOrigin.SetHere || TraceOutputOptions !=
TraceOptions
.None || !string.IsNullOrEmpty(InitData))
System.Diagnostics.TextWriterTraceListener (9)
System\Diagnostics\DelimitedListTraceListener.cs (6)
177
if (IsEnabled(
TraceOptions
.ProcessId))
181
if (IsEnabled(
TraceOptions
.LogicalOperationStack))
185
if (IsEnabled(
TraceOptions
.ThreadId))
189
if (IsEnabled(
TraceOptions
.DateTime))
193
if (IsEnabled(
TraceOptions
.Timestamp))
197
if (IsEnabled(
TraceOptions
.Callstack))
System\Diagnostics\TextWriterTraceListener.cs (1)
267
internal bool IsEnabled(
TraceOptions
opts) => (opts & TraceOutputOptions) != 0;
System\Diagnostics\XmlWriterTraceListener.cs (2)
291
bool writeLogicalOps = IsEnabled(
TraceOptions
.LogicalOperationStack);
292
bool writeCallstack = IsEnabled(
TraceOptions
.Callstack);
System.Diagnostics.TraceSource (10)
System\Diagnostics\TraceListener.cs (10)
22
private
TraceOptions
_traceOptions =
TraceOptions
.None;
148
public
TraceOptions
TraceOutputOptions
394
if (IsEnabled(
TraceOptions
.ProcessId))
397
if (IsEnabled(
TraceOptions
.LogicalOperationStack))
421
if (IsEnabled(
TraceOptions
.ThreadId))
424
if (IsEnabled(
TraceOptions
.DateTime))
427
if (IsEnabled(
TraceOptions
.Timestamp))
430
if (IsEnabled(
TraceOptions
.Callstack))
436
internal bool IsEnabled(
TraceOptions
opts)