mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
some subsonic cleanup
This commit is contained in:
parent
a28277af61
commit
1e73138f6d
8 changed files with 22 additions and 8 deletions
|
@ -5,28 +5,36 @@ namespace NzbDrone.Core.Instrumentation
|
|||
{
|
||||
public class Log
|
||||
{
|
||||
public int LogId { get; set; }
|
||||
[SubSonicPrimaryKey]
|
||||
public int LogId { get; protected 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
|
||||
//This is needed for Telerik grid binding
|
||||
[SubSonicIgnore]
|
||||
public string DisplayLevel{
|
||||
public string DisplayLevel
|
||||
{
|
||||
get { return Level.ToString(); }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue