summaryrefslogtreecommitdiff
path: root/src/SMAPI.Internal/ConsoleWriting/LogLevel.cs
blob: 545641114ac734ea75342866298b1fc786908831 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
namespace StardewModdingAPI.Internal.ConsoleWriting
{
    /// <summary>The log severity levels.</summary>
    internal enum ConsoleLogLevel
    {
        /// <summary>Tracing info intended for developers.</summary>
        Trace,

        /// <summary>Troubleshooting info that may be relevant to the player.</summary>
        Debug,

        /// <summary>Info relevant to the player. This should be used judiciously.</summary>
        Info,

        /// <summary>An issue the player should be aware of. This should be used rarely.</summary>
        Warn,

        /// <summary>A message indicating something went wrong.</summary>
        Error,

        /// <summary>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.</summary>
        Alert,

        /// <summary>A critical issue that generally signals an immediate end to the application.</summary>
        Critical,

        /// <summary>A success message that generally signals a successful end to a task.</summary>
        Success
    }
}