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

后端 未结 2 1866
北荒
北荒 2020-12-14 11:33

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.

相关标签:
2条回答
  • 2020-12-14 12:01

    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.

    0 讨论(0)
  • 2020-12-14 12:19

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

    0 讨论(0)
提交回复
热议问题