Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve telemetry tracking by avoiding null trace messages
The changes in the AppInsightsRemoteLogger class's TrackTrace method ensure that no null or empty messages are sent to the telemetryClient. This prevents potential errors and useless logs. This modification is made after identifying cases of null or empty logs causing issues in the telemetry data. The updated function now checks if the message is null or whitespace before sending it to the telemetryClient.
- Loading branch information