Sonarr/NzbDrone.Core/Instrumentation/Log.cs

30 lines
644 B
C#
Raw Normal View History

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; }
[SubSonicLongString]
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
[SubSonicNullString]
[SubSonicLongString]
public string Exception { get; set; }
2011-04-06 03:14:43 +00:00
[SubSonicNullString]
public string ExceptionType { get; set; }
public String Level { get; set; }
}
2011-04-10 02:44:01 +00:00
}