summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/DeprecationLevel.cs
blob: 12b5095209597eb117553a5ba47a36e8f1e694bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace StardewModdingAPI.Framework
{
    /// <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
    }
}