Skip to content

Add logGroupName and logStreamName to LambdaContext (follow up)#664

Merged
sebsto merged 7 commits into
mainfrom
feat/context_log
May 11, 2026
Merged

Add logGroupName and logStreamName to LambdaContext (follow up)#664
sebsto merged 7 commits into
mainfrom
feat/context_log

Conversation

@sebsto
Copy link
Copy Markdown
Collaborator

@sebsto sebsto commented May 11, 2026

Add to #663

  • use empty string instead of an optional value when the ENV variables are not defined

sebsto and others added 4 commits May 9, 2026 10:44
Read AWS_LAMBDA_LOG_GROUP_NAME and AWS_LAMBDA_LOG_STREAM_NAME environment
variables once at runtime initialization and pass them as stored properties
through LambdaContext, matching the pattern used by Python, Node.js, and
other AWS Lambda runtimes.

Closes #662

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The proposal document reflects the original design and should not be
modified retroactively.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use String? with nil default instead of empty string, consistent with
other optional LambdaContext properties like cognitoIdentity and
clientContext.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sebsto sebsto self-assigned this May 11, 2026
@sebsto sebsto added the 🆕 semver/minor Adds new public API. label May 11, 2026
@sebsto sebsto merged commit e1e4a15 into main May 11, 2026
52 of 53 checks passed
@sebsto sebsto deleted the feat/context_log branch May 11, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant