BatchGuy.Program.LoadLoggingService C# (CSharp) Method

LoadLoggingService() private static method

private static LoadLoggingService ( ) : void
return void
        private static void LoadLoggingService()
        {
            _loggingService = new LoggingService(Program.GetLogErrorFormat());
        }

Usage Example

Example #1
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Logging.Register();
     Program.LoadLoggingService();
     Program.LoadApplicationSettings();
     Application.Run(new MainForm());
 }