aws / aws-lambda-python-runtime-interface-client

Apache License 2.0
258 stars 73 forks source link

Emit multi-line logs with timestamps #92

Closed thenewguy39 closed 1 year ago

thenewguy39 commented 1 year ago

Description of changes: Lambda accepts multi-line messages where the timestamp of the log emission is encoded in the log event header. This helps ordering the function emitted messages with regards to platform emitted messages, e.g. START, REPORT.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

luben commented 1 year ago

LGTM