Skip to content

Commit

Permalink
use .AddDiagnoser instead of the obsolete .With in the EtwProfiler do…
Browse files Browse the repository at this point in the history
…c sample (#1633)
  • Loading branch information
MendelMonteiro committed Jan 8, 2021
1 parent 40f6e5b commit ffc8dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/articles/features/etwprofiler.md
Expand Up @@ -54,7 +54,7 @@ class Program
.FromAssembly(typeof(Program).Assembly)
.Run(args,
DefaultConfig.Instance
.With(new EtwProfiler())); // HERE
.AddDiagnoser(new EtwProfiler())); // HERE
}
```

Expand Down

0 comments on commit ffc8dd9

Please sign in to comment.