1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 00:12:30 +01:00
Sonarr/NzbDrone.Core/Instrumentation/Log.cs
markus101 da979639ba More config pages have been added. AJAX to save. Order with jquery sortable.
Some RssFeed Parsing has been implemented, it does not currently download items, still need to perform a more verbose episode check.
2011-01-28 22:10:22 -08:00

34 lines
914 B
C#

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(); }
}
}
}