using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol;
///
/// Indicates the severity of a log message.
///
///
/// These map to syslog message severities, as specified in RFC-5424.
///
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum LoggingLevel
{
/// Detailed debug information, typically only valuable to developers.
[JsonStringEnumMemberName("debug")]
Debug,
/// Normal operational messages that require no action.
[JsonStringEnumMemberName("info")]
Info,
/// Normal but significant events that might deserve attention.
[JsonStringEnumMemberName("notice")]
Notice,
/// Warning conditions that don't represent an error but indicate potential issues.
[JsonStringEnumMemberName("warning")]
Warning,
/// Error conditions that should be addressed but don't require immediate action.
[JsonStringEnumMemberName("error")]
Error,
/// Critical conditions that require immediate attention.
[JsonStringEnumMemberName("critical")]
Critical,
/// Action must be taken immediately to address the condition.
[JsonStringEnumMemberName("alert")]
Alert,
/// System is unusable and requires immediate attention.
[JsonStringEnumMemberName("emergency")]
Emergency
}