Client debug log
Loads a XHTML debugging page, into which the Javascript debug log is loaded and displayed. All Javascript components write their debugging and info statements into this debug log.
Example API call
/servlets3/wietmsd?id=1460038885460&book=s1000d_bike_41&collection=default&target=tools&action=logger
Parameters
| Parameter | Description |
|---|---|
target | tools |
action | logger |
id | A session ID that is valid for this collection and publication combination. |
collection | The name of the collection that the publication is registered in, such as default. |
book | The name of the publication, such as s1000d_bike_41. |
Returns
- On success
-
Dynamically generated XHTML page that includes the script resource logger.js and calls the
onLoad()Javascript function immediately.<html> <head> <title>Logger</title> <SCRIPT LANGUAGE='JavaScript' SRC='/servlets3/wietmsd?target=resource&action=script&file_name=logger.js'/> </head> <body onload='onLoad()'> <div id='main'/> </body> </html>