0.0.1 • Published 12 years ago
logger.js v0.0.1
Logger.js
Very simple logging utility for Node.js that make slight changes to the output to make it more readable before printing it to the console.
Example
// Load the library
var logger = require('logger');
// Enable debug messages
logger.load({
debug: true
});
logger.debug("This is an debug message");
logger.info("This is an info message");
logger.warn("This should not happen but we can recover from it and continue");
logger.error("This is something that should not happen and we cannot continue");
Dependencies
0.0.1
12 years ago