Display Logs for .NET JMS Clients
In this procedure, you will learn how to gather data on Kaazing Gateway .NET JMS clients.
Before You Begin
This procedure is part of Checklist: How to Build Microsoft .NET JMS Clients.
Note: Learn about supported browsers, operating systems, and platform versions in the Release Notes.
To Display Logs for .NET JMS Clients
- Build your Kaazing Gateway .NET client, as described in Use the Kaazing Gateway JMS Client Libraries for .NET.
- To produce WebSocket-level debug output, add the Debug version of the client library, located at 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); })); }
You can view additional debugging information by using the Kaazing.JMS.Util namespace, then including the following statement in your code:
set Tracer._DEBUG = true;
See Also
For more information about the Kaazing Gateway JMS client libraries for .NET, see Kaazing Gateway JMS Client Libraries: Supported APIs.