Skip to content

Commit 90f207d

Browse files
sfanahataShannon Anahata
andauthored
Updated Dart options to fully include all defaults (#15235)
## DESCRIBE YOUR PR Made sure Dart options all had defaults where applicable. ## IS YOUR CHANGE URGENT? Help us prioritize incoming PRs by letting us know when the change needs to go live. - [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE --> - [ ] Other deadline: <!-- ENTER DATE HERE --> - [x] None: Not urgent, can wait up to 1 week+ ## SLA - Teamwork makes the dream work, so please add a reviewer to your PRs. - Please give the docs team up to 1 week to review your PR unless you've added an urgent due date to it. Thanks in advance for your help! ## PRE-MERGE CHECKLIST *Make sure you've checked the following before merging your changes:* - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) Co-authored-by: Shannon Anahata <[email protected]>
1 parent fa0e8b2 commit 90f207d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/platforms/dart/common/configuration/options.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ Turns debug mode on or off. If debug is enabled SDK will attempt to print out us
2828

2929
</SdkOption>
3030

31-
<SdkOption name="diagnosticLevel" type="enum">
31+
<SdkOption name="diagnosticLevel" type="enum" defaultValue="warning">
3232

3333
Enabling `debug` mode makes the SDK generate as much diagnostic data as possible. However, if you'd prefer to lower the verbosity of the Sentry SDK diagnostics logs, configure this option to set the appropriate level:
3434

35-
- `debug`: **default** The most verbose mode
35+
- `warning`: **default** Warning that something might not be right
36+
- `debug`: The most verbose mode
3637
- `info`: Informational messages
37-
- `warning`: Warning that something might not be right
3838
- `error`: Only SDK internal errors are printed
3939
- `fatal`: Only critical errors are printed
4040

@@ -108,7 +108,7 @@ Most SDKs will attempt to auto-discover this value.
108108

109109
</SdkOption>
110110

111-
<SdkOption name="considerInAppFramesByDefault" type="bool">
111+
<SdkOption name="considerInAppFramesByDefault" type="boolean" defaultValue="true">
112112

113113
Configures whether stack trace frames are considered as in app frames by default.
114114
You can use this to essentially make `inAppIncludes` or `inAppExcludes` an allow or deny list.
@@ -135,27 +135,27 @@ This option can be overridden using <PlatformIdentifier name="inAppInclude" />.
135135

136136
</SdkOption>
137137

138-
<SdkOption name="sendClientReports" type="bool" availableSince="6.6.0">
138+
<SdkOption name="sendClientReports" type="boolean" defaultValue="true" availableSince="6.6.0">
139139

140140
Set this boolean to `false` to disable sending of client reports. Client reports are a protocol feature that let clients send status reports about themselves to Sentry. They are currently mainly used to emit outcomes for events that were never sent.
141141

142142
_(New in version 6.6.0)_
143143

144144
</SdkOption>
145145

146-
<SdkOption name="captureFailedRequests" type="bool" availableSince="7.0.0">
146+
<SdkOption name="captureFailedRequests" type="boolean" defaultValue="true" availableSince="7.0.0">
147147

148148
Once enabled, this feature automatically captures HTTP client errors, like bad response codes, as error events and reports them to Sentry.
149149

150150
_(New in version 7.0.0)_
151151

152152
</SdkOption>
153153

154-
<SdkOption name="maxRequestBodySize" type="enum">
154+
<SdkOption name="maxRequestBodySize" type="enum" defaultValue="never">
155155

156156
This parameter controls whether integrations should capture HTTP request bodies. It can be set to one of the following values:
157157

158-
- `never`: Request bodies are never sent.
158+
- `never`: **default** Request bodies are never sent.
159159
- `small`: Only small request bodies will be captured. The cutoff for small depends on the SDK (typically 4KB).
160160
- `medium`: Medium and small requests will be captured (typically 10KB).
161161
- `always`: The SDK will always capture the request body as long as Sentry can make sense of it.

0 commit comments

Comments
 (0)