// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace System.Web.Http.Tracing { /// /// Available trace levels. /// /// /// The interpretation of these levels is the responsibility of the /// implementation. The general convention is that /// enabling a particular trace level also enables all levels greater than or /// equal to it. For example, tracing at level would /// generally trace if the trace writer was enabled to trace at level . /// public enum TraceLevel { /// /// Tracing is disabled /// Off = 0, /// /// Trace level for debugging traces /// Debug = 1, /// /// Trace level for informational traces /// Info = 2, /// /// Trace level for warning traces /// Warn = 3, /// /// Trace level for error traces /// Error = 4, /// /// Trace level for fatal traces /// Fatal = 5 } }