require(function () {
    module.exports = console.log.bind(console, 'module loaded :');
});

require(function () {
    var console;
    
    console = global.console;
    
    module.exports = console.log.bind(console, 'module loaded :');
});

Update index.js