summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Deprecations/DeprecationLevel.cs
blob: 8b15b59a8b8b8430f9097fb172552de6b5a06592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace StardewModdingAPI.Framework.Deprecations
{
    /// <summary>Indicates how deprecated something is.</summary>
    internal enum DeprecationLevel
    {
        /// <summary>It's deprecated but won't be removed soon. Mod authors have some time to update their mods. Deprecation warnings should be logged, but not written to the console.</summary>
        Notice,

        /// <summary>Mods should no longer be using it. Deprecation messages should be debug entries in the console.</summary>
        Info,

        /// <summary>The code will be removed soon. Deprecation messages should be warnings in the console.</summary>
        PendingRemoval
    }
}