For advanced use cases where Amplify does not provide the functionality, you can retrieve the escape hatch to access the underlying Amazon CloudWatch client.

import iosEscapeHatch from '/src/fragments/lib/logging/ios/escapehatch/escapehatch.mdx';
import androidEscapeHatch from '/src/fragments/lib/logging/android/escapehatch/escapehatch.mdx';

<Fragments
  fragments={{
    ios: iosEscapeHatch,
    android: androidEscapeHatch
  }}
/>