| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/brook-source/Samples/master/UsingLog4Net/MyAddIn.cs | [Back] [Original] |
using ExcelDna.Integration;
using log4net;
[assembly:log4net.Config.XmlConfigurator()]
namespace UsingLog4Net
{
public static class MyAddIn
{
static ILog Logger = LogManager.GetLogger("MyAddIn");
public static double AddThemAndLog(double x, double y)
{
Logger.Debug(">>>>> AddThemAndLog called.");
return x + y;
}
}
}
| Web Proxy Viewer | New URL | Original Page |