maxLogExceptions Property

Description

The maxLogExceptions property is used to set the maximum number of exceptions logged for troubleshooting. The exception log is stored in browser local storage.

Use the set method of the ESDWeb object to set the value of this property as illustrated below or pass it to the startup method as part of the configuration parameter.

The value of this property must be an integer greater than or equal to zero.

The default number of exceptions stored is 25.

Setting maxLogExceptions to 0 will disable logging to local storage. Note that this will limit what data is available to our technical support staff if issues are encountered.

The logged exceptions can be displayed by typing CTRL+ALT+E when the editor has focus, or by using the option "Error Log" in the editor's Help menu.

Example

editor = new window.__editor(undefined, document.getElementById('editor-node'));

editor.set('maxLogExceptions', 10);

/* set other properties here */

editor.startup(...);