log4net config example, usage
using System;
namespace library
{
public class Worker
{
private readonly log4net.ILog _logger = log4net.LogManager.GetLogger(typeof(Worker));
public void doWork()
{
_logger.Info("Worker starting...");
throw new Exception("This is an exception that occurred to show how to log your exceptions with log4Net");
}
}
}