PowerToys/WinAlfred/Helper/Log.cs

20 lines
403 B
C#
Raw Normal View History

2013-12-20 19:38:10 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using log4net;
namespace WinAlfred.Helper
{
public class Log
{
private static ILog fileLogger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
public static void Error(string msg)
2013-12-20 19:38:10 +08:00
{
fileLogger.Error(msg);
2013-12-20 19:38:10 +08:00
}
}
}