Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3253d42253f4a4d3d38711e4dd4e33ba3408d212
https://github.com/WebKit/WebKit/commit/3253d42253f4a4d3d38711e4dd4e33ba3408d212
Author: Cole Carley <[email protected]>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
M Source/WTF/WTF.xcodeproj/project.pbxproj
M Source/WTF/wtf/CMakeLists.txt
A Source/WTF/wtf/FormattedLogging.h
M Tools/TestWebKitAPI/CMakeLists.txt
M Tools/TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj
A Tools/TestWebKitAPI/Tests/WTF/FormattedLogging.cpp
Log Message:
-----------
Add format string support to WTF logging
https://bugs.webkit.org/show_bug.cgi?id=314173
rdar://176332229
Reviewed by Simon Fraser.
Added support for format strings to WTF logging.
auto world = "world";
WTF::logAlways("hello {}", world);
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/CMakeLists.txt:
* Source/WTF/wtf/FormattedLogging.h: Added.
(WTF::requires):
(std::formatter<T>::format const):
(WTF::logAlways):
(WTF::logAlwaysAndCrash):
(WTF::logToChannel):
(WTF::logVerbose):
(WTF::logWithLevel):
* Source/WebCore/editing/Editor.cpp:
Canonical link: https://commits.webkit.org/312858@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications