public ConsoleExporter(ConsoleExporterOptions options) { this.serializerOptions = new JsonSerializerOptions() { WriteIndented = true, }; this.displayAsJson = options?.DisplayAsJson ?? false; this.serializerOptions.Converters.Add(new JsonStringEnumConverter()); this.serializerOptions.Converters.Add(new ActivitySpanIdConverter()); this.serializerOptions.Converters.Add(new ActivityTraceIdConverter()); }
public ConsoleMetricExporter(ConsoleExporterOptions options) : base(options) { }
public ConsoleActivityExporter(ConsoleExporterOptions options) : base(options) { }
public ConsoleExporter(ConsoleExporterOptions options) { this.options = options ?? new ConsoleExporterOptions(); }
public ConsoleLogRecordExporter(ConsoleExporterOptions options) : base(options) { }
protected ConsoleExporter(ConsoleExporterOptions options) { this.options = options ?? new ConsoleExporterOptions(); }
public ConsoleExporter(ConsoleExporterOptions options) { }