Adding an Event Log

You must add an event log to contain the events that Visual Studio Analyzer collects from your application. You can do any of the following actions with an event log:

  • Start recording. You must explicitly start recording with an event log or no events are collected when you run your application.

  • Pause recording.

  • Resume recording.

  • Stop recording. Once you stop recording into an event log, the event log is closed and you must create another event log if you want to record your application again.

You view the event log with Visual Studio Analyzer — either while recording or after recording has been paused or stopped — to understand your application's scope, analyze performance, or isolate faults.

To add an event log

  1. In the Project Explorer, select the Event Logs node.

  2. Right-click to display the shortcut menu, and then click Add Event Log.

    The new event log is added to the Project Explorer under Event Logs.

    You can also click Add Item on the shortcut menu. The difference between the two menu items is that Add Event Log adds an event log with a default name in a default location. With Add Item, you can specify the path and file name for the event log you add.

    ****Warning   ****Event logs are large files that can grow very quickly. Make sure there is enough disk space for your event log.