Skip to content

Commit e696deb

Browse files
committed
chore: typo in logger docs
1 parent 9331a68 commit e696deb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/logger.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ If you want to make sure that persistent attributes added **inside the handler f
308308
logger.debug('This is a DEBUG log');
309309
};
310310

311-
// Enable the clean state flag
311+
// Enable the clear state flag
312312
export const handler = middy(lambdaHandler)
313313
.use(injectLambdaContext(logger, { clearState: true }));
314314
```
@@ -330,7 +330,7 @@ If you want to make sure that persistent attributes added **inside the handler f
330330
});
331331

332332
class Lambda implements LambdaInterface {
333-
// Enable the clean state flag
333+
// Enable the clear state flag
334334
@logger.injectLambdaContext({ clearState: true })
335335
public async handler(_event: any, _context: any): Promise<void> {
336336
// Persistent attributes added inside the handler will NOT be cached

0 commit comments

Comments
 (0)