Organize your log output by grouping your logs into collapsable hierarchies using console.group().
for(var i = 0; i < 100; i++){ var num = Math.random() * 100; console.groupCollapsed("Picking a random number!"); console.log("Number greater than 10?", num > 10); console.log("Number greater than 50?", num > 50); console.groupCollapsed("This is a nested log group"); console.log(i); console.groupEnd(); console.groupEnd(); }