Esempio n. 1
0
 /// <summary>
 /// Reads the Exceptionless configuration from the app.config or web.config file.
 /// </summary>
 /// <param name="config">The configuration object you want to apply the attribute settings to.</param>
 public static void UseErrorEnrichment(this ExceptionlessConfiguration config)
 {
     config.RemoveEnrichment <SimpleErrorEnrichment>();
     config.AddEnrichment <Enrichments.ErrorEnrichment>();
 }
Esempio n. 2
0
 /// <summary>
 /// Reads the Exceptionless configuration from the app.config or web.config file.
 /// </summary>
 /// <param name="configuration">The configuration object you want to apply the attribute settings to.</param>
 public static void UseErrorEnrichment(this ExceptionlessConfiguration configuration)
 {
     configuration.RemoveEnrichment <Enrichments.Default.SimpleError>();
     configuration.AddEnrichment <Enrichments.ErrorEnrichment>();
 }