mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
e1e4a15c14
Add logGroupName and logStreamName to LambdaContext (#664) ## Summary - Adds `logGroupName` and `logStreamName` properties to `LambdaContext`, read from `AWS_LAMBDA_LOG_GROUP_NAME` and `AWS_LAMBDA_LOG_STREAM_NAME` environment variables - Values are read once at runtime initialization (not on every access) and stored as properties, consistent with how other static config is handled - Matches behavior of Python, Node.js, Java, Go, and other AWS Lambda runtimes Closes #662 ## Test plan - [x] `swift build` compiles cleanly - [x] `swift test --filter LambdaContextTests` — all 8 tests pass - [x] Full test suite (140 tests) passes