internal ApmLoggerProvider(ApmLoggerOptions configuration)
 {
     ApmConfigs = configuration;
 }
 public static ILoggingBuilder AddApm(this ILoggingBuilder builder, ApmLoggerOptions configuration)
 {
     return(builder.AddProvider(new ApmLoggerProvider(configuration)));
 }
 internal ApmLoggerProvider(Action <ApmLoggerOptions> configure = null)
 {
     ApmConfigs = ApmLoggerOptions.CreateDefaultApmLoggerOptions();
     configure?.Invoke(ApmConfigs);
 }
Ejemplo n.º 4
0
 public ApmLogger(string categoryName, ApmLoggerOptions apmConfigs)
 {
     this.categoryName = categoryName;
     ApmOptions        = apmConfigs;
 }