SCJMapper-V2/Program.cs

44 lines
1.0 KiB
C#
Raw Permalink Normal View History

2014-06-22 12:31:57 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.Configuration;
using log4net;
using log4net.Config;
//[assembly: log4net.Config.XmlConfigurator( Watch = true )]
[assembly: log4net.Config.XmlConfigurator( ConfigFile = "log4Net.config", Watch = true )]
2014-06-22 12:31:57 +00:00
namespace SCJMapper_V2
{
static class Program
{
private static readonly log4net.ILog log = log4net.LogManager.GetLogger ( System.Reflection.MethodBase.GetCurrentMethod( ).DeclaringType );
/* Log Levels Inc Priority
* ALL
* DEBUG
* INFO
* WARN
* ERROR
* FATAL
* OFF
* */
2014-06-22 12:31:57 +00:00
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main( )
{
log.InfoFormat( "\n" );
log.InfoFormat( "SCJMapper_V2 - Started" );
2014-06-22 12:31:57 +00:00
Application.EnableVisualStyles( );
Application.SetCompatibleTextRenderingDefault( false );
Application.Run( new MainForm( ) );
log.InfoFormat( "SCJMapper_V2 - Ended\n" );
2014-06-22 12:31:57 +00:00
}
}
}