import android0 from "/src/fragments/lib/android-escape-hatch-warning.mdx"; The escape hatch provides access to the underlying `CloudWatchLogsClient` instance. Then retrieve the escape hatch with this code: **Gradle Imports** ```groovy implementation "aws.sdk.kotlin:cloudwatchlogs:KOTLIN_SDK_VERSION" ``` ```java AWSCloudWatchLoggingPlugin plugin = (AWSCloudWatchLoggingPlugin)Amplify.Logging.getPlugin("awsCloudWatchLoggingPlugin"); CloudWatchLogsClient client = plugin.getEscapeHatch(); ``` ```kotlin val plugin = Amplify.Logging.getPlugin("awsCloudWatchLoggingPlugin") as AWSCloudWatchLoggingPlugin val client = plugin.escapeHatch ``` ```java AWSCloudWatchLoggingPlugin plugin = (AWSCloudWatchLoggingPlugin)Amplify.Logging.getPlugin("awsCloudWatchLoggingPlugin"); CloudWatchLogsClient client = plugin.getEscapeHatch(); ```