5

I can mistake, but how to enable or disable log levels in google-chrome-devtools using devTools settings? so for ex: when I open console window in google-chrome devtools, there is a lot of debug messages. but need only warning and errors messages.

what there are better way to disable log levels in DevTools settings?

Thanks in advance.

2

1 Answer 1

13

You need to click the Filter icon in the Console tab to expose these settings. After the panel appears, simply click on the level you want to see and your logs will filter for that level. Use Cmd+Click (Mac) Ctrl+Click (Windows) if you want to select multiple, such as Errors and Warnings.

Filter

2
  • @SergeySD You're welcome. If this sufficiently solves your problem, please mark it as the accepted answer so it's clear to other users not to unnecessarily look at the question. Jul 21, 2016 at 10:47
  • Is there a way to set a Custom level - or a custom default - so you don't have to change these every time you open a browser window?
    – zero_cool
    Dec 21, 2018 at 21:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.