Dispatched when a debug message is traced by the SmartFoxServer API.
In order to receive this event you have to previously set the debug flag to true.
In order to receive this event you have to previously set the debug flag to true.


- message (String)
- the debug message.

Version:
SmartFoxServer Basic / Pro

The following example shows how to handle a SmartFoxServer API debug message.
CopyC#

SFSEvent.onDebugMessage += OnDebugMessage; smartFox.debug = true; public void OnDebugMessage(string message) { Debug.WriteLine("[SFS DEBUG] " + message); }
