KMManager.setDebugMode()
Summary
The setDebugMode()
enables or disables debugging of Keyman Engine.
Syntax
KMManager.setDebugMode(boolean value)
Parameters
value
: Set true
to enable debugging, false
to disable.
Description
Use this method to enable or disable log output generated by Keyman Engine. By default debugging is disabled.
Examples
Example: Using setDebugMode()
The following script illustrate the use of setDebugMode()
:
KMManager.setDebugMode(true);
// Debugging is now on
// Initialize KMManager here