using StardewModdingAPI.Internal.ConsoleWriting;
namespace StardewModdingAPI.Web.Framework.LogParsing.Models
{
/// The log severity levels.
public enum LogLevel
{
/// Tracing info intended for developers.
Trace = ConsoleLogLevel.Trace,
/// Troubleshooting info that may be relevant to the player.
Debug = ConsoleLogLevel.Debug,
/// Info relevant to the player. This should be used judiciously.
Info = ConsoleLogLevel.Info,
/// An issue the player should be aware of. This should be used rarely.
Warn = ConsoleLogLevel.Warn,
/// A message indicating something went wrong.
Error = ConsoleLogLevel.Error,
/// Important information to highlight for the player when player action is needed (e.g. new version available). This should be used rarely to avoid alert fatigue.
Alert = ConsoleLogLevel.Alert,
/// A critical issue that generally signals an immediate end to the application.
Critical = ConsoleLogLevel.Critical
}
}