mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
added exceptron log target.
This commit is contained in:
parent
e37f413e19
commit
5ea794939c
26 changed files with 3113 additions and 0 deletions
111
Exceptron.Client/Message/ExceptionReport.cs
Normal file
111
Exceptron.Client/Message/ExceptionReport.cs
Normal file
|
@ -0,0 +1,111 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Exceptron.Client.Message
|
||||
{
|
||||
internal class ExceptionReport
|
||||
{
|
||||
/// <summary>
|
||||
/// API key
|
||||
/// </summary>
|
||||
public string ap { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Application Version
|
||||
/// </summary>
|
||||
public string aver { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exception Severity
|
||||
/// </summary>
|
||||
public int sv { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User or Instance ID
|
||||
/// </summary>
|
||||
public string uid { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Type of exception
|
||||
/// </summary>
|
||||
public string ext { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Exception message
|
||||
/// </summary>
|
||||
public string exm { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// List of frames that make up the StackTrace of the exception
|
||||
/// </summary>
|
||||
public List<Frame> stk { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Component that experienced this exception
|
||||
/// </summary>
|
||||
public string cmp { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Message that was logged along with the exception.
|
||||
/// </summary>
|
||||
public string msg { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// User's culture in
|
||||
/// </summary>
|
||||
/// <remarks>http://msdn.microsoft.com/en-us/library/system.globalization.cultureinfo.name.aspx</remarks>
|
||||
public string cul { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// OS Version
|
||||
/// </summary>
|
||||
public string os { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Name of the Client that generated and is sending this message
|
||||
/// </summary>
|
||||
public string dn { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Version of the Client that generated and is sending this message
|
||||
/// </summary>
|
||||
public string dv { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Host name of the machine that encountered this exception
|
||||
/// </summary>
|
||||
public string hn { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Request url
|
||||
/// <remarks>Only used for exception in context of a web request/</remarks>
|
||||
public string url { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Browser useragent
|
||||
/// </summary>
|
||||
/// <remarks>Only used for exception in context of a web request/</remarks>
|
||||
public string ua { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// HTTP response status code
|
||||
/// </summary>
|
||||
/// <remarks>Only used for exception in context of a web request/</remarks>
|
||||
public int sc { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Indicates the HTTP data transfer method used by the client.
|
||||
/// </summary>
|
||||
/// <example>GET, POST, PUT, DELETE</example>
|
||||
public string hm { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Framework Version (CLR) of the Host Application
|
||||
/// </summary>
|
||||
public string fv { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Framework Type of the Host Application
|
||||
/// </summary>
|
||||
public string ft { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue