namespace Hotline.Logger.Models
{
///
/// 日志类
///
public class AccModel : BaseLogModel
{
///
/// 时间间隔
///
///
public long Interval { get; set; }
///
/// 方向 (Response, Request)
///
public string Direction { get; set; } = string.Empty;
///
/// 服务地址
/// 请求/响应服务的地址
///
public string ServiceUrl { get; set; }
///
/// 被调用方法
/// 被调用的方法,直接API地址
///
public string Method { get; set; }
///
/// 说明
/// 调用方法注释说明,可为空
///
public string MethodNote { get; set; } = string.Empty;
///
/// 请求入参
/// 请求(Request)的请求参数,响应时为空
///
public string InParam { get; set; }
///
/// 异常级别
/// 有异常时的异常级别,通常为Error
///
public string ErrorLevel { get; set; }
///
/// 异常ID
/// 调用服务有异常时,异常信息的日志ID,没异常日志时为空
///
public string ErrorId { get; set; }
///
/// 返回值
/// 响应结果
///
public string OutResult { get; set; } = string.Empty;
}
}