using System;

namespace ExtensiblePortfolioSite.SDK.Plugins
{
    internal enum PluginErrorSeverity
    {
        /// <summary>
        /// Critically Breaking Error, Wholly unable to load Plugin
        /// </summary>
        Fatal,

        /// <summary>
        /// Small Info, non critical
        /// </summary>
        Info,
        /// <summary>
        /// Moderate Warning
        /// </summary>
        Warning,
        /// <summary>
        /// any error that will cause a degraded runtime.
        /// </summary>
        Error,
    }

    internal delegate void PluginLogMessageDelegate(PluginErrorSeverity Severity, Plugin Plugin, String Message, Type? Target, Exception? ex);
}
