NAVSourceControl/NAV Source Control/Program.cs

31 lines
691 B
C#
Raw Normal View History

2016-11-19 21:00:13 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2016-11-19 21:35:33 +00:00
using log4net;
2016-11-19 21:00:13 +00:00
2016-11-19 21:35:33 +00:00
namespace NAVSCM
2016-11-19 21:00:13 +00:00
{
class Program
{
2016-11-19 21:35:33 +00:00
private static readonly ILog log = LogManager.GetLogger(typeof(Program));
2016-11-19 21:00:13 +00:00
static void Main(string[] args)
{
2016-11-19 21:35:33 +00:00
log4net.Config.XmlConfigurator.ConfigureAndWatch(new System.IO.FileInfo("Config Files\\log4net.config"));
log.Info("Starting up...");
log.Debug("Debug");
log.Warn("Warn");
log.Error("Error");
log.Fatal("Fatal");
log.Info("Shutting down...");
Console.ReadLine();
2016-11-19 21:00:13 +00:00
}
}
}