64 references to TraceEventLevel
System.ServiceModel.Internals (64)
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (2)
244
public virtual bool ShouldTrace(
TraceEventLevel
level)
256
public bool ShouldTraceToTraceSource(
TraceEventLevel
level)
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (6)
49
static EventDescriptor transferEventDescriptor = new EventDescriptor(499, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.LogAlways, (byte)TraceEventOpcode.Info, 0x0, 0x20000000001A0065);
212
public override bool ShouldTrace(
TraceEventLevel
level)
220
public bool ShouldTraceToEtw(
TraceEventLevel
level)
228
public void Event(int eventId,
TraceEventLevel
traceEventLevel, TraceChannel channel, string description)
342
TraceLevelHelper.LookupSeverity((
TraceEventLevel
)eventDescriptor.Level, (TraceEventOpcode)eventDescriptor.Opcode));
577
static EventDescriptor GetEventDescriptor(int eventId, TraceChannel channel,
TraceEventLevel
traceEventLevel)
System\Runtime\TraceLevelHelper.cs (7)
45
internal static TraceEventType GetTraceEventType(
TraceEventLevel
level)
55
internal static string LookupSeverity(
TraceEventLevel
level, TraceEventOpcode opcode)
75
case
TraceEventLevel
.Critical:
78
case
TraceEventLevel
.Error:
81
case
TraceEventLevel
.Warning:
84
case
TraceEventLevel
.Informational:
87
case
TraceEventLevel
.Verbose:
TraceCore.Designer.cs (49)
68
return (trace.ShouldTrace(
TraceEventLevel
.Informational) || TraceCore.IsEtwEventEnabled(trace, 0));
86
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Informational))
100
return (trace.ShouldTrace(
TraceEventLevel
.Informational) || TraceCore.IsEtwEventEnabled(trace, 1));
117
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Informational))
131
return (trace.ShouldTrace(
TraceEventLevel
.Error) || TraceCore.IsEtwEventEnabled(trace, 2));
147
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Error))
161
return (trace.ShouldTrace(
TraceEventLevel
.Warning) || TraceCore.IsEtwEventEnabled(trace, 3));
179
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Warning))
193
return (trace.ShouldTrace(
TraceEventLevel
.Critical) || TraceCore.IsEtwEventEnabled(trace, 4));
210
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Critical))
224
return (trace.ShouldTrace(
TraceEventLevel
.Critical) || TraceCore.IsEtwEventEnabled(trace, 5));
240
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Critical))
254
return (trace.ShouldTrace(
TraceEventLevel
.Error) || TraceCore.IsEtwEventEnabled(trace, 6));
270
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Error))
284
return (trace.ShouldTrace(
TraceEventLevel
.Informational) || TraceCore.IsEtwEventEnabled(trace, 7));
300
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Informational))
314
return (trace.ShouldTrace(
TraceEventLevel
.Verbose) || TraceCore.IsEtwEventEnabled(trace, 8));
330
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Verbose))
344
return (trace.ShouldTrace(
TraceEventLevel
.Warning) || TraceCore.IsEtwEventEnabled(trace, 9));
360
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Warning))
374
return (trace.ShouldTrace(
TraceEventLevel
.Warning) || TraceCore.IsEtwEventEnabled(trace, 10));
391
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Warning))
506
return (trace.ShouldTrace(
TraceEventLevel
.Error) || TraceCore.IsEtwEventEnabled(trace, 15));
523
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Error))
537
return (trace.ShouldTrace(
TraceEventLevel
.Verbose) || TraceCore.IsEtwEventEnabled(trace, 16));
554
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Verbose))
648
return (trace.ShouldTrace(
TraceEventLevel
.Verbose) || TraceCore.IsEtwEventEnabled(trace, 20));
666
if (trace.ShouldTraceToTraceSource(
TraceEventLevel
.Verbose))
682
new System.Runtime.Diagnostics.EventDescriptor(57393, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Informational, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
683
new System.Runtime.Diagnostics.EventDescriptor(57394, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Informational, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
684
new System.Runtime.Diagnostics.EventDescriptor(57395, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Error, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
685
new System.Runtime.Diagnostics.EventDescriptor(57396, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
686
new System.Runtime.Diagnostics.EventDescriptor(57397, 0, (byte)TraceChannel.Operational, (byte)
TraceEventLevel
.Critical, (byte)TraceEventOpcode.Info, 0x0, 0x4000000000010000),
687
new System.Runtime.Diagnostics.EventDescriptor(57399, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Critical, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
688
new System.Runtime.Diagnostics.EventDescriptor(57400, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Error, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
689
new System.Runtime.Diagnostics.EventDescriptor(57401, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Informational, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
690
new System.Runtime.Diagnostics.EventDescriptor(57402, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
691
new System.Runtime.Diagnostics.EventDescriptor(57403, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x1000000000010000),
692
new System.Runtime.Diagnostics.EventDescriptor(57404, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
693
new System.Runtime.Diagnostics.EventDescriptor(131, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Verbose, (byte)12, 0x9cd, 0x1000000000010000),
694
new System.Runtime.Diagnostics.EventDescriptor(132, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Verbose, (byte)13, 0x9cd, 0x1000000000010000),
695
new System.Runtime.Diagnostics.EventDescriptor(133, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Verbose, (byte)TraceEventOpcode.Start, 0xa21, 0x1000000000200000),
696
new System.Runtime.Diagnostics.EventDescriptor(134, 0, (byte)TraceChannel.Debug, (byte)
TraceEventLevel
.Verbose, (byte)TraceEventOpcode.Stop, 0xa21, 0x1000000000200000),
697
new System.Runtime.Diagnostics.EventDescriptor(57405, 0, (byte)TraceChannel.Operational, (byte)
TraceEventLevel
.Error, (byte)TraceEventOpcode.Info, 0x0, 0x4000000000010000),
698
new System.Runtime.Diagnostics.EventDescriptor(57406, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
699
new System.Runtime.Diagnostics.EventDescriptor(57408, 0, (byte)TraceChannel.Operational, (byte)
TraceEventLevel
.Critical, (byte)TraceEventOpcode.Info, 0x0, 0x4000000000010000),
700
new System.Runtime.Diagnostics.EventDescriptor(57410, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Warning, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
701
new System.Runtime.Diagnostics.EventDescriptor(57409, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000),
702
new System.Runtime.Diagnostics.EventDescriptor(57407, 0, (byte)TraceChannel.Analytic, (byte)
TraceEventLevel
.Verbose, (byte)TraceEventOpcode.Info, 0x0, 0x2000000000010000)};