Sonarr/NzbDrone.Core/Instrumentation/Log.cs

28 lines
553 B
C#
Raw Normal View History

using System;
2011-06-18 00:11:12 +00:00
using PetaPoco;
namespace NzbDrone.Core.Instrumentation
{
2011-06-18 00:11:12 +00:00
[TableName("Logs")]
[PrimaryKey("LogId", autoIncrement = true)]
public class Log
{
2011-04-06 03:14:43 +00:00
2011-06-18 00:11:12 +00:00
public Int64 LogId { get; protected set; }
public string Message { get; set; }
2011-04-06 03:14:43 +00:00
public DateTime Time { get; set; }
2011-04-06 03:14:43 +00:00
public string Logger { get; set; }
public string Method { get; set; }
2011-04-06 03:14:43 +00:00
public string Exception { get; set; }
2011-04-06 03:14:43 +00:00
public string ExceptionType { get; set; }
public String Level { get; set; }
}
2011-04-10 02:44:01 +00:00
}