Plugin that enables debugging features on the editor's model and view documents.
Restores all methods that have been overwritten.
Enhances model classes with logging methods. Returns a plugin that should be loaded in the editor to enable debugging features.
Every operation applied on model.Document is logged.
The following classes are expanded with
- all operations
Additionally, the following logging utility methods are added:
Additionally, the following classes are expanded with
Finally, the following methods are added to
logDocuments. All those methods take one parameter, which is the version of the model document for which the model or view document state should be logged.
[ _logger ] : Object
An object with functions used to log messages and errors. By default messages are logged to the console. If specified, it is expected to have
The plugin to be loaded into the editor.