How to Write - Usage

The Usage section of the content covers how to manually capture events and message. A new framework can adopt the common content, which is stored in /docs/platforms/<SDK>/common/usage - feel free to peruse the files in that directory to help answer questions.

Most of these pages are pretty self-evident, so only basic information is provided. But please ask questions, if any arise, by opening an issue on GitHub.

This file is index.mdx. It explains how to manually capture events.

Add the code sample to these directories:

  • /src/platform-includes/capture-error/
  • /src/platform-includes/capture-message/

This file is set-level.mdx. It explains how to set the level of the event. Add the code sample to this directory:

  • /src/platform-includes/set-level/
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").