Skip to content

Commit

Permalink
Merge pull request #74 from lifeomic/fix-logger
Browse files Browse the repository at this point in the history
fix: reference correct logger
  • Loading branch information
swain authored Apr 29, 2024
2 parents 8c2e0d3 + 43b027f commit 4c9edbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamo-streams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export class DynamoStreamHandler<Entity, Context> {
concurrency: this.config.concurrency ?? 5,
},
async (record) => {
const recordLogger = this.config.logger.child({
const recordLogger = context.logger.child({
record: this.obfuscateRecord(record),
});
if (!record.dynamodb) {
Expand Down

0 comments on commit 4c9edbe

Please sign in to comment.