<PackageReference Include="OpenTelemetry" Version="1.13.0" />

OpenTelemetry.Logs.OpenTelemetryLoggerOptions

Contains OpenTelemetry logging options.
public bool IncludeFormattedMessage { get; set; }

Gets or sets a value indicating whether or not formatted log message should be included on generated LogRecords. Default value: false.

public bool IncludeScopes { get; set; }

Gets or sets a value indicating whether or not log scopes should be included on generated LogRecords. Default value: false.

public bool ParseStateValues { get; set; }

Gets or sets a value indicating whether or not log state should be parsed into Attributes on generated LogRecords. Default value: false.

Adds processor to the options.

Adds a processor to the provider which will be retrieved using dependency injection.

Sets the ResourceBuilder from which the Resource associated with this provider is built from. Overwrites currently set ResourceBuilder.