OpenTelemetry.Logs.LogRecordAttributeList
struct LogRecordAttributeList : IReadOnlyList<KeyValuePair<string, object>>, IReadOnlyCollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable
Enumerates the elements of a LogRecordAttributeList.
public static LogRecordAttributeList CreateFromEnumerable(IEnumerable<KeyValuePair<string, object>> attributes)
Create a LogRecordAttributeList collection from an enumerable.
Add an attribute.
Add an attribute.
Removes all elements from the LogRecordAttributeList.
Returns an enumerator that iterates through the LogRecordAttributeList.
Adds attributes representing an Exception to the list.