Skip to content
Commit 6303166c authored by hydrargyrum's avatar hydrargyrum
Browse files

browser.filters.base: make @debug more lazy

The @debug decorator is put on many filters and computes a lot of stuff
then verbosely logs it with a very low logging level (lower than DEBUG),
that by default isn't displayed.
Instead of computing so much stuff for nothing (logging level not low
enough) in the general case, only do it if we know we need it.

Also, it avoid having to skip a lot of useless code when running inside
a debugger.
parent 82e1bd22
Pipeline #291467383 passed with warnings with stages
in 1 hour, 2 minutes, and 47 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment