Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the small blue circle in the Chrome console log?

I'm logging dynamic JavaScript code into my Chrome console using console.log.

Sometimes I get a small blue circle on one line with a number in it.

Does anyone know what it means?

like image 245
Infinity Avatar asked May 06 '15 21:05

Infinity


2 Answers

The number of times that output has been repeated, also known as log stacking.

like image 137
Moises Zermeño Avatar answered Nov 16 '22 01:11

Moises Zermeño


This is called "message stacking". From Google Developers:

Message stacking

If a message is consecutively repeated, rather than printing out each instance of the message on a new line, the Console "stacks" the messages and shows a number in the left margin instead. The number indicates how many times the message has repeated.

It can be turned off by enabling "Show timestamps" for the Console in general settings.

like image 30
Benjamin W. Avatar answered Nov 15 '22 23:11

Benjamin W.