Logging

  • Revision slug: CommonJS/Logging
  • Revision title: Logging
  • Revision id: 93423
  • Created:
  • Creator: kriszyp
  • Is current revision? No
  • Comment 12 words added, 1 words removed

Revision Content

The standard logging API in the browser could probably be followed:

console.log(...);
console.debug(...);
...

Current server-side APIs:

Persevere also uses this standard console API for JavaScript logging.
I believe Jaxer may provide this API as well.

Revision Source

<p>The standard logging API in the browser could probably be followed:</p>
<p>console.log(...);<br>
console.debug(...);<br>
...</p>
<p>Current server-side APIs:</p>
<p><a class="external" href="http://docs.persvr.org/documentation/server-side-js" title="http://docs.persvr.org/documentation/server-side-js">Persevere also uses this standard console API</a> for JavaScript logging.<br>
I believe Jaxer may provide this API as well.</p>
Revert to this revision