namespace Wayne.Lib.Log
{
    /// <summary>
    /// Describes the severity of an error.
    /// </summary>
    public enum ErrorLogSeverity
    {
        #region Fields

        /// <summary>
        /// The kindest type of error.
        /// The application can proceed its execution without any problem.
        /// </summary>
        Cosmetic,

        /// <summary>
        /// Quite a bad error has occurred.
        /// The application can however continue without any loss of data or similar.
        /// </summary>
        Recoverable,

        /// <summary>
        /// This is a really bad error.
        /// Somehow some kind of data is lost -- but the application can continue its execution.
        /// </summary>
        RecoverableDataLoss,

        /// <summary>
        /// The worst imaginable errors.
        /// When this error has occurred the application cannot continue.
        /// This could for instance be a bad configuration, e.g. two servers listening to
        /// the same port.
        /// </summary>
        Irrecoverable,

        #endregion
    }
}