SuZhouZhanFang/suzhou-iot-service/GatherAPI/Util/LogHelper.cs

15 lines
292 B
C#

using log4net;
namespace GatherAPI.Util
{
public class LogHelper
{
private static readonly ILog log = LogManager.GetLogger(Startup.repository.Name, typeof(LogHelper));
public static void WriteLog(string msg)
{
log.Info(msg);
}
}
}