/// <summary> /// 执行命令 /// </summary> /// <param name="args"></param> /// <returns></returns> public override void Handle(PublishItem args) { try { var info = JsonConvert.DeserializeObject <RecordInfo>(args.Content); LogRecorder.Push(info); } catch (Exception e) { LogRecorder.Exception(e); } }