-
Notifications
You must be signed in to change notification settings - Fork 848
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Feature Request
Is your feature request related to a problem?
If I create a logger with the OtlpExporter using the bridge API and then emit a log, an exception will be thrown at line 50 here
Lines 45 to 55 in 0b9cf42
| foreach (var logRecord in logRecordBatch) | |
| { | |
| var otlpLogRecord = this.ToOtlpLog(logRecord); | |
| if (otlpLogRecord != null) | |
| { | |
| if (!logsByCategory.TryGetValue(logRecord.CategoryName, out var scopeLogs)) | |
| { | |
| scopeLogs = this.GetLogListFromPool(logRecord.CategoryName); | |
| logsByCategory.Add(logRecord.CategoryName, scopeLogs); | |
| resourceLogs.ScopeLogs.Add(scopeLogs); | |
| } |
Describe the solution you'd like:
Add a CategoryName property to the LogRecordData struct.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request