Ejemplo n.º 1
0
 /// <summary>
 /// 序列化
 /// </summary>
 /// <param name="obj"></param>
 /// <returns></returns>
 public static void SerializeToLog(this object obj, string title)
 {
     ApplicationLog.Info($"{title} :{(obj == null ? "is empty." : Serialize(obj))}");
 }