mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02: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; }
|
|
|
|
}
|
|
} |