예제 #1
0
        //==============================================================================================
        // Application Overrides
        //==============================================================================================

        public override void OnCreate()
        {
            base.OnCreate();

            // Enable verbose logging in debug builds
            if (BuildConfig.DEBUG)
            {
                Com.Layer.Atlas.Util.Log.SetAlwaysLoggable(true);
                Messenger.Util.Log.SetAlwaysLoggable(true);
                LayerClient.SetLoggingEnabled(this, true);
            }

            // Allow the LayerClient to track app state
            LayerClient.ApplicationCreated(this);

            sInstance = this;
        }