mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 02:22:31 +01:00
e9c63b81e6
Added health monitoring Updated database logging
30 lines
644 B
C#
30 lines
644 B
C#
using System;
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
namespace NzbDrone.Core.Instrumentation
|
|
{
|
|
public class Log
|
|
{
|
|
[SubSonicPrimaryKey]
|
|
public int LogId { get; protected set; }
|
|
|
|
[SubSonicLongString]
|
|
public string Message { get; set; }
|
|
|
|
public DateTime Time { get; set; }
|
|
|
|
public string Logger { get; set; }
|
|
|
|
public string Method { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
[SubSonicLongString]
|
|
public string Exception { get; set; }
|
|
|
|
[SubSonicNullString]
|
|
public string ExceptionType { get; set; }
|
|
|
|
public String Level { get; set; }
|
|
|
|
}
|
|
} |