Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 56bab82b80b9b1dac46a36110ab05f0b72020157
https://github.com/WebKit/WebKit/commit/56bab82b80b9b1dac46a36110ab05f0b72020157
Author: Joshua Hoffman <[email protected]>
Date: 2026-03-03 (Tue, 03 Mar 2026)
Changed paths:
M Source/WebCore/accessibility/AXLogger.h
Log Message:
-----------
AX: Add AXLogMessage convenience function
https://bugs.webkit.org/show_bug.cgi?id=308554
rdar://171076967
Reviewed by Tyler Wilcock.
This adds AXLogMessage (a wrapper over WTFLogAlways) for writing cleaner logs
in accessibility
code. This will auto-convert AXCoreObjects (and subclasses) and WTF::Strings to
be used with
the `%s` format specifier. Some examples:
```
AccessibilityObject* myObject = { . . . };
String myString = String("Hello world"_s);
AXLogMessage("My object: %s, my string: %s", myObject, myString);
```
* Source/WebCore/accessibility/AXLogger.h:
(WebCore::convertAXLogArg):
(WebCore::extractAXLogArg):
(WebCore::AXLogMessage):
Canonical link: https://commits.webkit.org/308566@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications