using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// ISVLogSync Data Structure. /// [Serializable] public class ISVLogSync : AopObject { /// /// 应用名 /// [XmlElement("application")] public string Application { get; set; } /// /// isv自定义错误码, 该值传了表示接口调用业务失败或发生异常 /// [XmlElement("error_code")] public string ErrorCode { get; set; } /// /// 错误信息 /// [XmlElement("error_msg")] public string ErrorMsg { get; set; } /// /// 异常堆栈 /// [XmlElement("exception_stack_trace")] public string ExceptionStackTrace { get; set; } /// /// 执行时长,毫秒数。如果能取到尽量传入,涉及到接口耗时的监控 /// [XmlElement("execution_millis")] public string ExecutionMillis { get; set; } /// /// 接口全限定名 包含远程rpc和内部调用 /// [XmlElement("interface_name")] public string InterfaceName { get; set; } /// /// T 成功 F 失败 /// [XmlElement("success")] public string Success { get; set; } /// /// 回流数据类型 /// [XmlElement("sync_type")] public string SyncType { get; set; } /// /// 时间戳 /// [XmlElement("timestamp")] public string Timestamp { get; set; } } }