Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/logger/src/formatter/PowertoolsLogFormatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class PowertoolsLogFormatter extends LogFormatter {
*
* @param {UnformattedAttributes} attributes
* @param {LogAttributes} additionalLogAttributes
* @returns {PowertoolsLog}
* @returns {LogItem}
*/
public formatAttributes(
attributes: UnformattedAttributes,
Expand All @@ -36,11 +36,11 @@ class PowertoolsLogFormatter extends LogFormatter {
xray_trace_id: attributes.xRayTraceId,
};

const powertoolLogItem = new LogItem({ attributes: baseAttributes });
const powertoolsLogItem = new LogItem({ attributes: baseAttributes });

powertoolLogItem.addAttributes(additionalLogAttributes);
powertoolsLogItem.addAttributes(additionalLogAttributes);

return powertoolLogItem;
return powertoolsLogItem;
}
}

Expand Down