// Collection of code snippets by Arne Vajhøj // (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) using System; using log4net; using log4net.Config; namespace E { public class Program { public static void Main(string[] args) { XmlConfigurator.Configure(); ILog log = LogManager.GetLogger("Test"); log.Fatal("Just testing"); log.Error("Just testing"); log.Warn("Just testing"); log.Info("Just testing"); log.Debug("Just testing"); } } }