Beispiel #1
0
 protected override void OnStart(string[] args)
 {
     try
     {
         Utils.Log.Info("Log4Grid Server Copyright @ www.ikende.com 2014 Version " + typeof(Log4GridService).Assembly.GetName().Version);
         Utils.Log.Info("Website:http://www.ikende.com");
         Utils.Log.Info("Email:[email protected]");
         mLogServer = new LogServer();
         mLogServer.Open();
         Utils.Log.InfoFormat("Log4Grid windows start at {0}", DateTime.Now);
     }
     catch (Exception e_)
     {
         Utils.Log.ErrorFormat("Log4Grid windows start error {0}", e_.Message);
     }
 }
Beispiel #2
0
 protected override void OnStart(string[] args)
 {
     try
     {
         Utils.Log.Info("Log4Grid Server Copyright @ www.ikende.com 2014 Version " + typeof(Log4GridService).Assembly.GetName().Version);
         Utils.Log.Info("Website:http://www.ikende.com");
         Utils.Log.Info("Email:[email protected]");
         mLogServer = new LogServer();
         mLogServer.Open();
         Utils.Log.InfoFormat("Log4Grid windows start at {0}", DateTime.Now);
     }
     catch (Exception e_)
     {
         Utils.Log.ErrorFormat("Log4Grid windows start error {0}", e_.Message);
     }
 }