XML comment cleanup for in-memory exporter extensions. (#3658)

This commit is contained in:
Mikel Blanchard 2022-09-13 16:00:04 -07:00 committed by GitHub
parent 11c804ac68
commit bc82fdc732
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,7 @@ namespace OpenTelemetry.Trace
/// Adds InMemory exporter to the TracerProvider.
/// </summary>
/// <param name="builder"><see cref="TracerProviderBuilder"/> builder to use.</param>
/// <param name="exportedItems">Collection which will be populated with the exported Activity.</param>
/// <param name="exportedItems">Collection which will be populated with the exported <see cref="Activity"/>.</param>
/// <returns>The instance of <see cref="TracerProviderBuilder"/> to chain the calls.</returns>
public static TracerProviderBuilder AddInMemoryExporter(this TracerProviderBuilder builder, ICollection<Activity> exportedItems)
{

View File

@ -22,6 +22,12 @@ namespace OpenTelemetry.Logs
{
public static class InMemoryExporterLoggingExtensions
{
/// <summary>
/// Adds InMemory exporter to the OpenTelemetryLoggerOptions.
/// </summary>
/// <param name="loggerOptions"><see cref="OpenTelemetryLoggerOptions"/> options to use.</param>
/// <param name="exportedItems">Collection which will be populated with the exported <see cref="LogRecord"/>.</param>
/// <returns>The instance of <see cref="OpenTelemetryLoggerOptions"/> to chain the calls.</returns>
public static OpenTelemetryLoggerOptions AddInMemoryExporter(this OpenTelemetryLoggerOptions loggerOptions, ICollection<LogRecord> exportedItems)
{
Guard.ThrowIfNull(loggerOptions);