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 }
public static void Initialize(CoreDispatcher dispatcher) { Settings.ApplyDefaults(); OrtcLib.Setup(EventQueueMaker.Bind(dispatcher)); }