Testing the Application
To see the logs that were generated for operations being tracked, you can simply add a search screen to the application based on the Log entity. Run the application and enter a new contact; then open the Search Contacts screen. Figure 5 shows an example of a list of logs.
Figure 5 Sample list of recorded logs.
As you can see, it's quite easy to implement your own tracking mechanism and analyze the application usage. The way we implemented this mechanism also allows for reusing the code easily, since you would just need to re-create the same Log entity in another application and take advantage of the shared LogHelper class.