Skip to content

Commit 13c6103

Browse files
dreamorosiijemmy
andauthored
fix: Update examples/cdk/lib/example-function.MyFunctionWithMiddy.ts
Co-authored-by: ijemmy <ijemmy@users.noreply.github.com>
1 parent 5e033c6 commit 13c6103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cdk/lib/example-function.MyFunctionWithMiddy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const lambdaHandler = async (event: typeof Events.Custom.CustomEvent, context: C
1919
logger.addPersistentLogAttributes({
2020
testKey: 'testValue',
2121
});
22-
logger.debug('This is an DEBUG log'); // Won't show by default
22+
logger.debug('This is an DEBUG log'); // Won't show because we pass logLevel: 'INFO' in the constructor.
2323
logger.info('This is an INFO log');
2424
logger.warn('This is an WARN log');
2525
logger.error('This is an ERROR log');

0 commit comments

Comments
 (0)