summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/IMonitor.cs
blob: 8d20af017dfebbb7c159b03cc5c30c239e242805 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace StardewModdingAPI
{
    /// <summary>Encapsulates monitoring and logging for a given module.</summary>
    public interface IMonitor
    {
        /*********
        ** Methods
        *********/
        /// <summary>Log a message for the player or developer.</summary>
        /// <param name="message">The message to log.</param>
        /// <param name="level">The log severity level.</param>
        void Log(string message, LogLevel level = LogLevel.Debug);
    }
}