Add a Link to the Logger
The AVEVA OMI SDK includes a logger that you can add to your app to aid in app development and troubleshooting. The logger contains a number of methods, including LogError, LogInfo, LogWarning, LogTrace, LogEntry, and others. To add the logger:
- In the Visual Studio Solution Explorer, select your app.
- Right-click and select Add > Existing Item (or press Shift + Alt + A).
- Navigate to the C:\Program Files (x86)\ArchestrA\Framework\AcfSdk\Includes folder.
- Select the Logger.cs file.
- Click the down arrow on the Add button
- Click Add As Link.
- Add a reference to the dll file C:\Program Files (x86)\ArchestrA\Framework\AcfSdk\SharedLibs\ArchestrA.Diagnostics.LoggerClient.dll.