Files
2026-06-04 11:42:34 +02:00

39 lines
2.4 KiB
C#

using System;
using System.ComponentModel;
namespace System.Diagnostics
{
/// <summary>Specifies the levels of trace messages filtered by the source switch and event type filter.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x020000F2 RID: 242
[Flags]
public enum SourceLevels
{
/// <summary>Does not allow any events through.</summary>
// Token: 0x040002AD RID: 685
Off = 0,
/// <summary>Allows only <see cref="F:System.Diagnostics.TraceEventType.Critical" /> events through.</summary>
// Token: 0x040002AE RID: 686
Critical = 1,
/// <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" /> and <see cref="F:System.Diagnostics.TraceEventType.Error" /> events through.</summary>
// Token: 0x040002AF RID: 687
Error = 3,
/// <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" />, <see cref="F:System.Diagnostics.TraceEventType.Error" />, and <see cref="F:System.Diagnostics.TraceEventType.Warning" /> events through.</summary>
// Token: 0x040002B0 RID: 688
Warning = 7,
/// <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" />, <see cref="F:System.Diagnostics.TraceEventType.Error" />, <see cref="F:System.Diagnostics.TraceEventType.Warning" />, and <see cref="F:System.Diagnostics.TraceEventType.Information" /> events through.</summary>
// Token: 0x040002B1 RID: 689
Information = 15,
/// <summary>Allows <see cref="F:System.Diagnostics.TraceEventType.Critical" />, <see cref="F:System.Diagnostics.TraceEventType.Error" />, <see cref="F:System.Diagnostics.TraceEventType.Warning" />, <see cref="F:System.Diagnostics.TraceEventType.Information" />, and <see cref="F:System.Diagnostics.TraceEventType.Verbose" /> events through.</summary>
// Token: 0x040002B2 RID: 690
Verbose = 31,
/// <summary>Allows the <see cref="F:System.Diagnostics.TraceEventType.Stop" />, <see cref="F:System.Diagnostics.TraceEventType.Start" />, <see cref="F:System.Diagnostics.TraceEventType.Suspend" />, <see cref="F:System.Diagnostics.TraceEventType.Transfer" />, and <see cref="F:System.Diagnostics.TraceEventType.Resume" /> events through.</summary>
// Token: 0x040002B3 RID: 691
[global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Advanced)]
ActivityTracing = 65280,
/// <summary>Allows all events through.</summary>
// Token: 0x040002B4 RID: 692
All = -1
}
}