How to Write - Usage
The Usage section of the content covers how to manually capture events and message. In most cases, the SDK will adopt the common content, which is stored in /platforms/common/usage/
- feel free to peruse the files in that directory to help answer questions.
DO NOT change the common content. That change will ripple across all SDKs that rely on the common content. Instead, open an issue on GitHub with questions/suggestions.
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.
Index file
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/
Set the Level
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/
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").