mirror of
https://github.com/Radarr/Radarr
synced 2024-12-27 10:19:41 +00:00
e9c63b81e6
Added health monitoring Updated database logging
30 lines
No EOL
644 B
C#
30 lines
No EOL
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; }
|
|
|
|
}
|
|
} |