The Chrome console window is full of warning messages that I like to hide. Is it possible to hide the warning logs? I only want to show my custom logs e.g. console.log('mymessage');
This is how the console windowbar looks like:
The Chrome console window is full of warning messages that I like to hide. Is it possible to hide the warning logs? I only want to show my custom logs e.g. console.log('mymessage');
This is how the console windowbar looks like:
As of Chrome version 78 (Dec 2019), in the "Console" tab, click on the "Default levels" pulldown, and uncheck the types of messages you don't want displayed.

Under the console tab it is now possible to highlight the message type as a general filter. There is also a filter box right next to the eyeball. So if you put a unique flag in your console.log then it will show only your messages with this flag.
But in general. I think you want to click the 'Info' item as highlighted below to just obtain the console.log messages

There is a drop down next to filter, where can you select only things you require.
Note : ReactJS warnings are actually displayed in red as errors. So to remove them you need to uncheck errors too.