using Serilog; namespace Team.Utility { public static class LogUtil { /// /// INfo /// /// public static void WriteInfo(object msg) { Log.Logger.Information(msg.ToString()); } /// /// 异常 /// /// public static void WriteError(object msg) { Log.Logger.Error(msg.ToString()); } /// /// Debug /// /// public static void WriteDebug(object msg) { Log.Debug(msg.ToString()); } } }