Skip to content

Commit

Permalink
Update LoggerSdk.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
konjac committed Sep 14, 2024
1 parent adc059b commit e829c51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/OpenTelemetry/Logs/LoggerSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public override void EmitLog(in LogRecordData data, in LogRecordAttributeList at
var pool = provider.LogRecordPool;

var logRecord = pool.Rent();
processor.OnStart(logRecord);

logRecord.Data = data;
logRecord.ILoggerData = default;
Expand Down

0 comments on commit e829c51

Please sign in to comment.