Reputation: 39
What do these numbers on the left mean? I was using regex and used conditionals to verify them but it seems that it triggers both of them
Upvotes: 1
Views: 1495
Reputation: 3281
The number next to the log shows you how many consecutive times that particular message got logged.
So in your case, you received a log / console log stating "Valid File" 8 times in a row, before receiving a log / console .log stating "Invaild File"
Upvotes: 2
Reputation: 99
That number reflects how many times that log has been triggered consecutively. It groups it so it doesn't flood the console with several redundant lines.
Upvotes: 2