/** * Main entry point of the application */ function main() { var logger = new Logger(); var config = new Config(); logger.info('Application started'); // Do something with the config var apiUrl = config.getApiUrl(); logger.info(`API URL: ${apiUrl}`); // Do something with the logger logger.debug('Debug message'); logger.error('Error message'); }