[webkit-changes] [WebKit/WebKit] 42ffeb: [WebDriver] Support proper WTF logging features
Lauro Moura
noreply at github.com
Thu Dec 19 22:59:15 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 42ffeb6854c8e0d16e3536a8c87ea5ba40fef290
https://github.com/WebKit/WebKit/commit/42ffeb6854c8e0d16e3536a8c87ea5ba40fef290
Author: Lauro Moura <lmoura at igalia.com>
Date: 2024-12-19 (Thu, 19 Dec 2024)
Changed paths:
M Source/WebDriver/CMakeLists.txt
A Source/WebDriver/LogInitialization.cpp
A Source/WebDriver/LogInitialization.h
A Source/WebDriver/Logging.cpp
A Source/WebDriver/Logging.h
M Source/WebDriver/PlatformGTK.cmake
M Source/WebDriver/PlatformPlayStation.cmake
M Source/WebDriver/PlatformWPE.cmake
M Source/WebDriver/WebDriverMain.cpp
M Source/WebDriver/WebDriverService.cpp
M Source/WebDriver/soup/HTTPServerSoup.cpp
M Source/WebDriver/soup/WebSocketServerSoup.cpp
A Source/WebDriver/unix/LoggingUnix.cpp
A Source/WebDriver/win/LoggingWin.cpp
M Source/WebKit/glib/environment-variables.md.in
Log Message:
-----------
[WebDriver] Support proper WTF logging features
https://bugs.webkit.org/show_bug.cgi?id=284824
Reviewed by Adrian Perez de Castro.
Add the required pumbling to enable WTF LogChannels for
Source/WebDriver. This will allow us add more logging points without
polluting stdout/stderr.
Initially, it'll have 3 channels: WebDriverClassic, WebDriverBiDi,
SessionHost.
* Source/WebDriver/CMakeLists.txt:
* Source/WebDriver/LogInitialization.cpp: Added.
(WebDriver::logChannels):
(WebDriver::getLogChannel):
* Source/WebDriver/LogInitialization.h: Added.
* Source/WebDriver/Logging.cpp: Added.
* Source/WebDriver/Logging.h: Added.
* Source/WebDriver/PlatformGTK.cmake:
* Source/WebDriver/PlatformPlayStation.cmake:
* Source/WebDriver/PlatformWPE.cmake:
* Source/WebDriver/WebDriverMain.cpp:
(main):
* Source/WebDriver/WebDriverService.cpp:
(WebDriver::WebDriverService::run):
(WebDriver::WebDriverService::acceptHandshake):
(WebDriver::WebDriverService::handleMessage):
(WebDriver::WebDriverService::createSession):
* Source/WebDriver/soup/HTTPServerSoup.cpp:
(WebDriver::HTTPServer::listen):
* Source/WebDriver/soup/WebSocketServerSoup.cpp:
(WebDriver::handleIncomingHandshake):
(WebDriver::handleWebSocketMessage):
(WebDriver::WebSocketServer::listen):
* Source/WebDriver/unix/LoggingUnix.cpp: Added.
(WebDriver::logLevelString):
* Source/WebDriver/win/LoggingWin.cpp: Added.
(WebDriver::logLevelString):
* Source/WebKit/glib/environment-variables.md.in:
Canonical link: https://commits.webkit.org/288150@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list