mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-26 09:37:12 +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; }
|
|
|
|
}
|
|
} |