using System; namespace Oqtane.Models { /// /// A log entry in the events log. /// public class Log { /// /// Internal ID /// public int LogId { get; set; } /// /// Reference to the /// public int? SiteId { get; set; } /// /// Timestamp /// public DateTime LogDate { get; set; } /// /// Reference to the /// public int? PageId { get; set; } /// /// Reference to the /// public int? ModuleId { get; set; } /// /// Reference to the /// public int? UserId { get; set; } /// /// Url if relevant for this log entry. /// public string Url { get; set; } /// /// Name of the server that created this entry /// public string Server { get; set; } public string Category { get; set; } // usually the full typename of the public string Feature { get; set; } public string Function { get; set; } /// /// Log level / severity /// public string Level { get; set; } /// /// Log Message /// public string Message { get; set; } public string MessageTemplate { get; set; } /// /// Information about raised Exceptions /// public string Exception { get; set; } public string Properties { get; set; } } }