/// <summary> /// Fatal /// </summary> /// <param name="note">日志内容</param> public static void Fatal(LogNote note) => Serilog.Log.Fatal(_defaultTemplate, note);
/// <summary> /// Error /// </summary> /// <param name="ex">异常</param> /// <param name="note">日志内容</param> public static void Error(Exception ex, LogNote note) => Serilog.Log.Error(ex, _defaultTemplate, note);
/// <summary> /// Warn /// </summary> /// <param name="note">日志内容</param> public static void Warn(LogNote note) => Serilog.Log.Warning(_defaultTemplate, note);
/// <summary> /// Info /// </summary> /// <param name="note">日志内容</param> public static void Info(LogNote note) => Serilog.Log.Information(_defaultTemplate, note);
/// <summary> /// Debug /// </summary> /// <param name="note">日志内容</param> public static void Debug(LogNote note) => Serilog.Log.Debug(_defaultTemplate, note);
/// <summary> /// Verbose /// </summary> /// <param name="note">日志内容</param> public static void Verbose(LogNote note) => Serilog.Log.Verbose(_defaultTemplate, note);