You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.2 KiB
C#
61 lines
1.2 KiB
C#
using GuideScreen.Common.Common;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GuideScreen.Common.Services.Models
|
|
{
|
|
/// <summary>
|
|
/// 日志信息 model
|
|
/// </summary>
|
|
public class LogInfoModel
|
|
{
|
|
//
|
|
// 摘要:
|
|
// 时间
|
|
public DateTime Time { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 线程id
|
|
public int ThreadId { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 日志级别
|
|
public LogInfoLevel LogLevel { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 异常源
|
|
public string Source { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 异常信息
|
|
public string Message { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 异常对象
|
|
public Exception Exception { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 日志类型
|
|
public string ExceptionType { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 请求路径
|
|
public string RequestUrl { get; set; }
|
|
|
|
//
|
|
// 摘要:
|
|
// 客户端代理
|
|
public string UserAgent { get; set; }
|
|
}
|
|
}
|