Display Logs for .NET Clients
You can configure logging to gather data on your .NET clients.
Before You Begin
This procedure is part of Checklist: Build Microsoft .NET WebSocket Clients.
Note: Learn about supported browsers, operating systems, and platform versions in the Release Notes.
To Display Logs for .NET Clients
- Build your Kaazing .NET client, as described in Checklist: Build Microsoft .NET WebSocket Clients.
- To produce WebSocket-level debug output, add the Debug version of the client library, located at https://www.nuget.org/packages/Kaazing.Enterprise.Debug/.
- You can obtain additional debugging information by using a Logger.LoggerCallback statement and send the output to a log, as described in the following example:
Logger.LoggerCallback = HandleLog; private void HandleLog(String message) { this.BeginInvoke((InvokeDelegate)(() => { Log("LOG: " + message); })); }
Next Step
Troubleshoot Your Microsoft .NET Clients