Using NodeLog

FabianM edited this page Dec 1, 2011 · 2 revisions

Import NodeLog

var NodeLog = require('./path/to/logger.js');

Create new Logger instance

var Logger = NodeLog.getLogger("MyAppOrServiceName");

Log messages

Logger.info("Welcome to NodeLog!");