public AppInsightsLogger(
     AppInsightsLoggerProvider provider,
     string categoryName = null)
 {
     _provider        = provider;
     _transform       = provider.PopulateLogTelemetry;
     _telemetryClient = provider.Client;
     _categoryName    = categoryName ?? DefaultCategoryName;
 }
示例#2
0
 public AppInsightsScope(AppInsightsLoggerProvider provider, object state)
 {
     _provider = provider;
     _state    = state;
 }