1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00
Radarr/NzbDrone.Core/Instrumentation/Log.cs

34 lines
914 B
C#
Raw Normal View History

using System;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Instrumentation
{
public class Log
{
public int LogId { get; set; }
[SubSonicLongString]
public string Message { get; set; }
public DateTime Time { get; set; }
public string Logger { get; set; }
[SubSonicNullString]
public string Stack { get; set; }
[SubSonicNullString]
[SubSonicLongString]
public string ExceptionMessage { get; set; }
[SubSonicNullString]
[SubSonicLongString]
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(); }
}
}
}