|
|
@ -5,28 +5,36 @@ namespace NzbDrone.Core.Instrumentation
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public class Log
|
|
|
|
public class Log
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public int LogId { get; set; }
|
|
|
|
[SubSonicPrimaryKey]
|
|
|
|
|
|
|
|
public int LogId { get; protected set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicLongString]
|
|
|
|
[SubSonicLongString]
|
|
|
|
public string Message { get; set; }
|
|
|
|
public string Message { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public DateTime Time { get; set; }
|
|
|
|
public DateTime Time { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string Logger { get; set; }
|
|
|
|
public string Logger { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicNullString]
|
|
|
|
[SubSonicNullString]
|
|
|
|
public string Stack { get; set; }
|
|
|
|
public string Stack { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicNullString]
|
|
|
|
[SubSonicNullString]
|
|
|
|
[SubSonicLongString]
|
|
|
|
[SubSonicLongString]
|
|
|
|
public string ExceptionMessage { get; set; }
|
|
|
|
public string ExceptionMessage { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicNullString]
|
|
|
|
[SubSonicNullString]
|
|
|
|
[SubSonicLongString]
|
|
|
|
[SubSonicLongString]
|
|
|
|
public string ExceptionString { get; set; }
|
|
|
|
public string ExceptionString { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
[SubSonicNullString]
|
|
|
|
[SubSonicNullString]
|
|
|
|
public string ExceptionType { get; set; }
|
|
|
|
public string ExceptionType { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public LogLevel Level { get; set; }
|
|
|
|
public LogLevel Level { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
//This is needed for telerik grid binding
|
|
|
|
//This is needed for Telerik grid binding
|
|
|
|
[SubSonicIgnore]
|
|
|
|
[SubSonicIgnore]
|
|
|
|
public string DisplayLevel{
|
|
|
|
public string DisplayLevel
|
|
|
|
|
|
|
|
{
|
|
|
|
get { return Level.ToString(); }
|
|
|
|
get { return Level.ToString(); }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|