From 4def1eae72696201dda6b3c0fdd0c918894e2185 Mon Sep 17 00:00:00 2001 From: Jackson Weber <47067795+JacksonWeber@users.noreply.github.com> Date: Wed, 23 Aug 2023 13:04:05 -0700 Subject: [PATCH] Update comment. --- src/shared/util/attributeLogRecordProcessor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/util/attributeLogRecordProcessor.ts b/src/shared/util/attributeLogRecordProcessor.ts index 273bf4de7..89480714f 100644 --- a/src/shared/util/attributeLogRecordProcessor.ts +++ b/src/shared/util/attributeLogRecordProcessor.ts @@ -6,7 +6,7 @@ export class AttributeLogProcessor extends BatchLogRecordProcessor { super(exporter); this._attributes = attributes; } - // Override onStart to apply span attributes before exporting + // Override onEmit to apply log record attributes before exporting onEmit(record: LogRecord) { record.setAttributes(this._attributes); super.onEmit(record);