Esempio n. 1
0
        public static IComponentService UseExceptionless(this IComponentService componentService, ExceptionlessSetting exceptionlessSetting)
        {
            initExceptionless(exceptionlessSetting);

            componentService.RegisterAssembly(typeof(ComponentManagerExtend).Assembly);
            return(componentService);
        }
Esempio n. 2
0
 private static void initExceptionless(ExceptionlessSetting exceptionlessSetting)
 {
     //TODO这里修改
     ExceptionlessClient.Default.Configuration.ApiKey    = exceptionlessSetting.ApiKey;
     ExceptionlessClient.Default.Configuration.ServerUrl = exceptionlessSetting.ServerUrl;
 }