Skip to content

Commit cc475bf

Browse files
committed
fix: logger object
1 parent 00b3aa0 commit cc475bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export class Worker {
305305
const topicCfg = kafkaConfig.topics[topicLabel];
306306
const topic = await events.topic(topicCfg.topic);
307307
const offSetValue = await this.offsetStore.getOffset(topicCfg.topic);
308-
logger.info('subscribing to topic with offset value', topicCfg.topic, offSetValue);
308+
that.logger.info('subscribing to topic with offset value', topicCfg.topic, offSetValue);
309309
if (topicCfg.events) {
310310
for (let eventName of topicCfg.events) {
311311
await topic.on(eventName, eventListener, { startingOffset: offSetValue });

0 commit comments

Comments
 (0)