'Console.log in Chrome dev tools console doesn't do anything

So I open the Chrome developer tools and switch to the console tab, and I type the command console.log("Hello world!") but it doesn't log anything to the console. Why doesn't it work? Thanks.

Here is a screenshot of it screenshot



Solution 1:[1]

Seems to be working as expected on Chrome 100.0.4896.75 enter image description here

Solution 2:[2]

I had same problem, just reinstall Chrome and restart your computer.

enter image description here

Update: I don't know why but on my development environment just works with: console.debug() and console.error()

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Satya S
Solution 2