2010-10-24 09:46:58 +02:00
|
|
|
|
using System;
|
|
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Instrumentation
|
|
|
|
|
{
|
|
|
|
|
public class Log
|
|
|
|
|
{
|
|
|
|
|
public int LogId { get; set; }
|
2011-01-29 07:10:22 +01:00
|
|
|
|
[SubSonicLongString]
|
2010-10-24 09:46:58 +02:00
|
|
|
|
public string Message { get; set; }
|
|
|
|
|
public DateTime Time { get; set; }
|
|
|
|
|
public string Logger { get; set; }
|
|
|
|
|
|
|
|
|
|
[SubSonicNullString]
|
|
|
|
|
public string Stack { get; set; }
|
|
|
|
|
[SubSonicNullString]
|
2011-01-29 07:10:22 +01:00
|
|
|
|
[SubSonicLongString]
|
2010-10-24 09:46:58 +02:00
|
|
|
|
public string ExceptionMessage { get; set; }
|
|
|
|
|
[SubSonicNullString]
|
2011-01-29 07:10:22 +01:00
|
|
|
|
[SubSonicLongString]
|
2010-10-24 09:46:58 +02:00
|
|
|
|
public string ExceptionString { get; set; }
|
|
|
|
|
[SubSonicNullString]
|
|
|
|
|
public string ExceptionType { get; set; }
|
|
|
|
|
|
|
|
|
|
public LogLevel Level { get; set; }
|
|
|
|
|
|
|
|
|
|
//This is needed for telerik grid binding
|
|
|
|
|
[SubSonicIgnore]
|
|
|
|
|
public string DisplayLevel{
|
|
|
|
|
get { return Level.ToString(); }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|