Changed logger to pass arguments directly to console.log, used printf style arguments in code