2010-10-24 00:46:58 -07:00
|
|
|
using System;
|
2011-06-17 17:11:12 -07:00
|
|
|
using PetaPoco;
|
2010-10-24 00:46:58 -07:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Instrumentation
|
|
|
|
{
|
2011-06-17 17:11:12 -07:00
|
|
|
[TableName("Logs")]
|
|
|
|
[PrimaryKey("LogId", autoIncrement = true)]
|
2010-10-24 00:46:58 -07:00
|
|
|
public class Log
|
|
|
|
{
|
2011-04-05 20:14:43 -07:00
|
|
|
|
2011-06-17 17:11:12 -07:00
|
|
|
public Int64 LogId { get; protected set; }
|
|
|
|
|
2010-10-24 00:46:58 -07:00
|
|
|
public string Message { get; set; }
|
2011-04-05 20:14:43 -07:00
|
|
|
|
2010-10-24 00:46:58 -07:00
|
|
|
public DateTime Time { get; set; }
|
2011-04-05 20:14:43 -07:00
|
|
|
|
2010-10-24 00:46:58 -07:00
|
|
|
public string Logger { get; set; }
|
|
|
|
|
2011-04-21 19:23:31 -07:00
|
|
|
public string Method { get; set; }
|
2011-04-05 20:14:43 -07:00
|
|
|
|
2011-04-21 19:23:31 -07:00
|
|
|
public string Exception { get; set; }
|
2011-04-05 20:14:43 -07:00
|
|
|
|
2010-10-24 00:46:58 -07:00
|
|
|
public string ExceptionType { get; set; }
|
|
|
|
|
2011-04-21 19:23:31 -07:00
|
|
|
public String Level { get; set; }
|
2010-10-24 00:46:58 -07:00
|
|
|
|
|
|
|
}
|
2011-04-09 19:44:01 -07:00
|
|
|
}
|