lib/index.js
function logToConsole(tags, message) {
    if (enabled) {
        if (arguments.length < 2) {
            message = tags;
            tags = [];
        }

        if (!util.isArray(tags)) tags = [];

        var text = new Date().getTime() + ', ';
        if (tags.length > 0) {
            text = text + tags[0] + ', ';
        }
        text = text + message;
        console.log(text);
    }
}
function logToConsole(tags, message) {
    if (enabled) {
        if (arguments.length < 2) {
            message = tags;
            tags = [];
        }

        if (!util.isArray(tags)) tags = [];

        var text = new Date().getTime() + ', ';
        if (tags.length > 0) {
            text = text + tags[0] + ', ';
        }
        text = text + message;
        console.log(text);
    }
}
function logToConsole ( tags , message ) { if ( enabled ) { if ( arguments . length < 2 ) { message = tags ; tags = [ ] ; } if ( ! util . isArray ( tags ) ) tags = [ ] ; var text = new Date ( ) . getTime ( ) + ', ' ; if ( tags . length > 0 ) { text = text + tags [ 0 ] + ', ' ; } text = text + message ; console . log ( text ) ; } }
Default console logger for use outside of hapi container
@param tags
@param message
Default console logger for use outside of hapi container