Logging

From CommonJS Spec Wiki
(Redirected from CommonJS/Logging)
Jump to: navigation, search

A standard logging API has proven to be useful in many languages. This is especially true for server side environments where things are often running unattended (unlike client side work, where you are personally actively using the code that is doing the logging).

Prior Art

The standard logging API in the browser is one option:

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

Current server-side APIs:

I believe Jaxer may provide this API as well.