Beispiel #1
0
        static void Main(string[] args)
        {
            AppDomain.CurrentDomain.UnhandledException += UnhandledException;

            try
            {
                UdpLoggerManager.Configure();
                if (!UdpLoggerManager.IsRunning)
                {
                    TizenLoggerManager.Configure();
                }

                ReactNativeApp app = new ReactNativeApp();
                app.Run(args);
            }
            catch (Exception e)
            {
                Log.Error(Tag, e.ToString());
            }
            finally
            {
                if (UdpLoggerManager.IsRunning)
                {
                    UdpLoggerManager.Terminate();
                }
            }
        }
Beispiel #2
0
 static void Main(string[] args)
 {
     try
     {
         TizenLoggerManager.Configure();
         AppDomain.CurrentDomain.UnhandledException += UnhandledException;
         ReactNativeApp app = new ReactNativeApp();
         app.Run(args);
     }
     catch (Exception e)
     {
         Log.Error(Tag, e.ToString());
     }
 }