Logger.cs
483 Bytes
using HHECS.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HHECS.Bll
{
public class Logger
{
#region 事件
public static event Delegates.LogWriteEventHandle LogWrite;
public static void Log(string content, LogLevel logLevel)
{
LogWrite?.Invoke(null, LogEventArgs.GetLogEventArgs(content, logLevel));
}
#endregion
}
}