(function(log) { var logger = log.getLogger('main'); logger.info('Application started!'); }(window.log));