summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Logging/LogOnceCacheKey.cs
blob: 4d31ffebd37ea0347e62e42ad4176e1d11ddaf07 (plain)
1
2
3
4
5
6
7
8
9
10
using System.Diagnostics.CodeAnalysis;

namespace StardewModdingAPI.Framework.Logging
{
    /// <summary>The cache key for the <see cref="Monitor.LogOnceCache"/>.</summary>
    /// <param name="Message">The log message.</param>
    /// <param name="Level">The log level.</param>
    [SuppressMessage("ReSharper", "NotAccessedPositionalProperty.Local", Justification = "This is only used as a lookup key.")]
    internal readonly record struct LogOnceCacheKey(string Message, LogLevel Level);
}