Skip to content

Commit 479820f

Browse files
docs: update docs/core/logger.md
Co-authored-by: Sara Gerion <47529391+saragerion@users.noreply.github.com>
1 parent 8d7a93e commit 479820f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/logger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Key | Example
154154
class Lambda extends LambdaInterface {
155155
// Decorate your handler class method
156156
@logger.injectLambdaContext()
157-
public async handler(_event: any, _context: any): Promise<unknown> {
157+
public async handler(_event: any, _context: any): Promise<void> {
158158
logger.info("This is an INFO log with some context");
159159
}
160160

0 commit comments

Comments
 (0)