IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
JsonDiagnosticFormatterFactory.cs
Go to the documentation of this file.
1using System;
2
4{
5
10 GenericChannelDiagnosticFormatterFactory<JsonDiagnosticFormatter, JsonDiagnosticFormatterOptions>
11 {
12
13
20 base(channels, "json")
21 {
22
23 }
24
27 {
28 return new JsonDiagnosticFormatter(options);
29 }
30
31 }
32
33}
Provides the capability to look up diagnostic channels.
Generate channel factory for a formatter that accepts the standard set of chanel options.
override JsonDiagnosticFormatter CreateFormatter(JsonDiagnosticFormatterOptions options)
JsonDiagnosticFormatterFactory(DiagnosticChannelProvider channels)
Initializes a new instance.
Formats diagnostic events into a stream of JSON objects.