[Webkit-unassigned] [Bug 280975] New: [libpas] Centralize toggles for libpas debug logging

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 7 08:11:34 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=280975

            Bug ID: 280975
           Summary: [libpas] Centralize toggles for libpas debug logging
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: marcus_plutowski at apple.com

rdar://137427586

Currently various functions within libpas have little `if (verbose) PAS_LOG(...)` blocks which are quite helpful for understanding what's going on underneath the hood. However, the 'verbose' flags that these functions use are defined inside each function that uses them, so turning groups of them on and off is very annoying. We can keep the existing 'verbose' variables, but it'd be helpful to have a libpas-wide macro (PAS_LOG_LEVEL or PAS_SHOULD_LOG) that would make it easier to turn on and off large groups of these prints at once.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241007/db20e682/attachment.htm>


More information about the webkit-unassigned mailing list