[ACCEPTED]-Why does Google Chrome group identical console.log messages?-google-chrome-devtools
In your Devtools Console:
- press the combination CTRL+SHIFT+P.
- Write: "show timestamps"
- Select it!
- Done!
Each output to 1 the console, will have its own line!
If you click on the cog on the top right 4 of the console window, you are given the 3 option to "Group similar", which 2 is probably checked, if you un-check this, it 1 will show each line separately.
Well, I appear to have found a decent enough 11 work around... I modified my logging function 10 to the following:
function WriteToLog(msg, clear) {
try {
var now = new Date();
if (clear) {
console.clear();
}
console.log('(' + now.getTime() + ') - ' + msg);
} catch (e) {
}
}
This will get the number 9 of milliseconds since 1/1/1970... Which 8 should be distinct enough for logging any 7 process on any computer I will own in the 6 near future. :)
It makes the logs a little 5 more difficult to read, and the value is 4 pretty much useless... but it is distinct 3 enough to circumvent the default tally behavior.
Thanks 2 for looking. I hope I'm not the only one 1 who seriously dislikes this feature.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.