structured logging

This commit is contained in:
Shaun Walker
2019-10-22 11:57:28 -04:00
parent ce25967633
commit 2e3a4efb74
79 changed files with 891 additions and 497 deletions

View File

@ -0,0 +1,23 @@
using System;
using System.ComponentModel.DataAnnotations.Schema;
namespace Oqtane.Models
{
public class Log
{
public int LogId { get; set; }
public int SiteId { get; set; }
public DateTime LogDate { get; set; }
public int? PageId { get; set; }
public int? ModuleId { get; set; }
public int? UserId { get; set; }
public string Url { get; set; }
public string Server { get; set; }
public string Category { get; set; }
public string Level { get; set; }
public string Message { get; set; }
public string MessageTemplate { get; set; }
public string Exception { get; set; }
public string Properties { get; set; }
}
}