using Microsoft.Extensions.Logging; namespace DigitalData.Core.Abstraction.Application.DTO; /// /// Represents a notice for logging purposes, containing a flag, log level, and associated messages. /// [Obsolete("Use DigitalData.Core.Exceptions and .Middleware")] public class Notice { /// /// Gets or sets an optional flag associated with the notice. /// [Obsolete("Use DigitalData.Core.Exceptions and .Middleware")] public Enum? Flag { get; init; } = null; /// /// Gets or sets the log level for the notice. /// [Obsolete("Use DigitalData.Core.Exceptions and .Middleware")] public LogLevel Level { get; init; } = LogLevel.None; /// /// Gets a list of messages associated with the notice. /// [Obsolete("Use DigitalData.Core.Exceptions and .Middleware")] public List Messages { get; init; } = new(); }