2010-10-24 07:46:58 +00:00
|
|
|
|
using System;
|
|
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Instrumentation
|
|
|
|
|
{
|
|
|
|
|
public class Log
|
|
|
|
|
{
|
2011-04-06 03:14:43 +00:00
|
|
|
|
[SubSonicPrimaryKey]
|
|
|
|
|
public int LogId { get; protected set; }
|
|
|
|
|
|
2011-01-29 06:10:22 +00:00
|
|
|
|
[SubSonicLongString]
|
2010-10-24 07:46:58 +00:00
|
|
|
|
public string Message { get; set; }
|
2011-04-06 03:14:43 +00:00
|
|
|
|
|
2010-10-24 07:46:58 +00:00
|
|
|
|
public DateTime Time { get; set; }
|
2011-04-06 03:14:43 +00:00
|
|
|
|
|
2010-10-24 07:46:58 +00:00
|
|
|
|
public string Logger { get; set; }
|
|
|
|
|
|
2011-04-22 02:23:31 +00:00
|
|
|
|
public string Method { get; set; }
|
2011-04-06 03:14:43 +00:00
|
|
|
|
|
2010-10-24 07:46:58 +00:00
|
|
|
|
[SubSonicNullString]
|
2011-01-29 06:10:22 +00:00
|
|
|
|
[SubSonicLongString]
|
2011-04-22 02:23:31 +00:00
|
|
|
|
public string Exception { get; set; }
|
2011-04-06 03:14:43 +00:00
|
|
|
|
|
2010-10-24 07:46:58 +00:00
|
|
|
|
[SubSonicNullString]
|
|
|
|
|
public string ExceptionType { get; set; }
|
|
|
|
|
|
2011-04-22 02:23:31 +00:00
|
|
|
|
public String Level { get; set; }
|
2010-10-24 07:46:58 +00:00
|
|
|
|
|
|
|
|
|
}
|
2011-04-10 02:44:01 +00:00
|
|
|
|
}
|