Ejemplo n.º 1
0
        static OrtcController()
        {
            OrtcLib.Setup();
            Settings.ApplyDefaults();
#if ENABLE_ORTCLIB_LOGGING
            Logger.InstallEventingListener("secret", 58888, TimeSpan.FromSeconds(60));
            Logger.SetLogLevel(Org.Ortc.Log.Component.All, Org.Ortc.Log.Level.Trace);
            Logger.SetLogLevel(Org.Ortc.Log.Component.Eventing, Org.Ortc.Log.Level.Basic);
            Logger.InstallDebuggerLogger();
#endif
        }
Ejemplo n.º 2
0
        public static void Initialize(CoreDispatcher dispatcher)
        {
            Settings.ApplyDefaults();

            OrtcLib.Setup(EventQueueMaker.Bind(dispatcher));
        }