-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add data logging api in defineData
#2359
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
We should move couple of things around to reduce public api additions.
🦋 Changeset detectedLatest commit: fd2e70e The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Co-authored-by: Kamil Sobol <sobkamil@amazon.com>
…kend into data-logging-api
* feat: add data logging api to defineData * chore: update API.md * chore: update API.md * addressed PR comments * addressed PR comments * updated ConversationHandlerFunctionLogLevel * chore: update changeset * chore: remove extra changeset * Update .changeset/quick-dingos-whisper.md Co-authored-by: Kamil Sobol <sobkamil@amazon.com> * chore: updated API.md * chore: rename `level` to `fieldLogLevel` * chore: update API.md * chore: bump data-construct version --------- Co-authored-by: Kamil Sobol <sobkamil@amazon.com>
Changes
This PR added data logging options in
defineData
. Summary of changes:data-construct
version to consume the new logging apiDataLogLevel
typeDataLogLevelConverter
and logging options parserconvertLoggingOptionsToCDK
Validation
Unit tests added for:
DataLogLevelConverter
convertLoggingOptionsToCDK
defineData
with logging optionsChecklist
run-e2e
label set.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.