using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Api.Framework.Events { /// /// 日志事件 /// public class LogEvents : BaseEvents { /// /// 异常对象 /// public Exception Exception { get; internal set; } /// /// 日志内容 /// public string Message { get; set; } /// /// 触发时间 /// public DateTime CrtTime { get; private set; } /// /// 构造方法 /// /// 日志内容 public LogEvents(string message) { this.Message = message; this.CrtTime = DateTime.Now; } } }