You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Application Insights](#application-insights-integration)| Centralized telemetry and performance monitoring | Requires Azure setup. Emits traces and metrics outside Power Apps. |
29
29
|[Dataverse logging table](#write-debug-records-to-dataverse)| Ad-hoc diagnostics and audit trails | Create a custom table. Use guarded logic to write records when debugging. |
30
-
|[SharePoint list logging](#write-debug-records-to-sharepoint)| Lightweight environments without Dataverse | Use `Collect` or `Patch` (to a list). Prune entries to control size. |
30
+
|[SharePoint list logging](#write-debug-records-to-sharepoint)| Lightweight environments without Dataverse | Use `Collect` or `Patch` (to a list). To control size, prune entries. |
31
31
|[On-screen diagnostics panel](#create-an-on-screen-diagnostics-panel)| Immediate feedback during testing | Only for secure audiences. Remove before a broad rollout. |
32
32
33
33
## Application Insights integration
@@ -50,11 +50,11 @@ To capture diagnostic information if your environment includes Dataverse, create
50
50
51
51
1. In [Power Apps](https://make.powerapps.com), go to **Tables**, and create a new table that's named `Debug Logs`.
52
52
1. Add the following columns:
53
-
-`Title`: A label for the log entry.
54
-
-`UserEmail`: The email of the user.
55
-
-`Timestamp`: When the event occurred.
56
-
-`Payload`: Additional data in JSON format.
57
-
- Other columns as necessary for your scenario (for example, `CartCount`, `ScreenName`).
53
+
-`Title`: A label for the log entry
54
+
-`UserEmail`: The email address of the user
55
+
-`Timestamp`: When the event occurred
56
+
-`Payload`: Additional data in JSON format
57
+
- Other columns as necessary for your scenario (for example, `CartCount`, `ScreenName`)
58
58
59
59
### Example: Write a debug record to Dataverse
60
60
@@ -188,7 +188,7 @@ If you use an alternative debugging approach, follow these guidelines:
188
188
- *Guard debug controls*: Use query string parameters (`Param("debug") = "true"`) or role checks to display debug features only during testing.
189
189
- *Clean up before deployment*: Remove debug controls, logging calls, and diagnostic panels before you run a broad deployment.
190
190
- *Manage log storage*: To manage storage for Dataverse or SharePoint logging, periodically delete old entries.
191
-
- *Use meaningful labels*: To make logs easier to analyze, include descriptive titles such as "BeforeSubmit" or "OnVisible_OrderScreen".
191
+
- *Use meaningful labels*: To make logs easier to analyze, include descriptive titles such as "BeforeSubmit" or "OnVisible_OrderScreen."
192
192
- *Include context*: Log the user email, screen name, and relevant data values so you can correlate entries across sessions.
0 commit comments