-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Stopwatch to log execution time of remote operations
Introduce Stopwatch to AxoDataExchange class to measure execution time. Add private Stopwatch field `sw` to the class. Modify RemoteCreate, RemoteRead, RemoteUpdate, RemoteDelete, RemoteEntityExist, and RemoteCreateOrUpdate methods to start and stop the stopwatch. Log the elapsed time with record identifier, data exchange symbol, and time in milliseconds using AxoApplication.Current.Logger.Information.
- Loading branch information
Showing
1 changed file
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters