namespace Nop.Core.Domain.Logging; /// /// Represents a log record /// public partial class Log : BaseEntity { /// /// Gets or sets the log level identifier /// public int LogLevelId { get; set; } /// /// Gets or sets the short message /// public string ShortMessage { get; set; } /// /// Gets or sets the full exception /// public string FullMessage { get; set; } /// /// Gets or sets the IP address /// public string IpAddress { get; set; } /// /// Gets or sets the customer identifier /// public int? CustomerId { get; set; } /// /// Gets or sets the page URL /// public string PageUrl { get; set; } /// /// Gets or sets the referrer URL /// public string ReferrerUrl { get; set; } /// /// Gets or sets the date and time of instance creation /// public DateTime CreatedOnUtc { get; set; } /// /// Gets or sets the log level /// public LogLevel LogLevel { get => (LogLevel)LogLevelId; set => LogLevelId = (int)value; } }