Skip to content
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(logging): cloudwatch logging plugin to implement logging plugin interface #4107

Merged

Conversation

NikaHsn
Copy link
Member

@NikaHsn NikaHsn commented Nov 10, 2023

Issue #, if available:

Description of changes:

  • cloudwatch logging plugin to implement logging plugin interface
  • add logging pluging to amplify flutter and amplify core
  • update the cloudwatch logging config and remove it from amplify config

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

@NikaHsn NikaHsn requested a review from a team as a code owner November 10, 2023 23:33
}

void _disableLogging() {
_plugin.disable();
Amplify.Logging.enable();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to be Amplify.Logging.enable() for the _disableLogging() call?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ops, I will fix it

Comment on lines -27 to -32
- 'packages/smithy/smithy/lib/**/*.dart'
- 'packages/smithy/smithy/pubspec.yaml'
- 'packages/smithy/smithy_aws/lib/**/*.dart'
- 'packages/smithy/smithy_aws/pubspec.yaml'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the smithy changes related?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes they are. they were added because of adding aws_logging_cloudwatch.

@NikaHsn NikaHsn closed this Nov 14, 2023
@NikaHsn NikaHsn force-pushed the feat/logging/cloudwatch branch from 11d0d04 to 1fbc85e Compare November 14, 2023 20:27
@NikaHsn NikaHsn reopened this Nov 14, 2023
@NikaHsn NikaHsn merged commit 93a2f8e into aws-amplify:feat/logging/cloudwatch Nov 14, 2023
384 of 486 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants