mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
moved log to object db.
This commit is contained in:
parent
71dcd623f7
commit
b3c6db5997
21 changed files with 157 additions and 321 deletions
|
@ -1,15 +1,12 @@
|
|||
using System;
|
||||
using PetaPoco;
|
||||
using NzbDrone.Core.Datastore;
|
||||
using Sqo.Attributes;
|
||||
|
||||
namespace NzbDrone.Core.Instrumentation
|
||||
{
|
||||
[TableName("Logs")]
|
||||
[PrimaryKey("LogId", autoIncrement = true)]
|
||||
public class Log
|
||||
public class Log : ModelBase
|
||||
{
|
||||
|
||||
public Int64 LogId { get; protected set; }
|
||||
|
||||
[Text]
|
||||
public string Message { get; set; }
|
||||
|
||||
public DateTime Time { get; set; }
|
||||
|
@ -18,11 +15,11 @@ namespace NzbDrone.Core.Instrumentation
|
|||
|
||||
public string Method { get; set; }
|
||||
|
||||
[Text]
|
||||
public string Exception { get; set; }
|
||||
|
||||
public string ExceptionType { get; set; }
|
||||
|
||||
public String Level { get; set; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue