jonseymour / idiomatic-console

A rebindable console API for node.js modules and scripts
http://github.com/jonseymour/idiomatic-console
10 stars 0 forks source link

add a log4j like configuration scheme for private console objects. #3

Open jonseymour opened 13 years ago

jonseymour commented 13 years ago

The idea is to allow the default bindings used by a node module to be configured externally, as in a log4j configuration file.

Modules would obtain a private console object, and global configuration would determine how that console object behaves. Adapters could be built for popular node.js logging systems.