Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f8b520c6e9b1bc98f20ff286f01ff6b1428ec2a7
      
https://github.com/WebKit/WebKit/commit/f8b520c6e9b1bc98f20ff286f01ff6b1428ec2a7
  Author: Adrian Perez de Castro <ape...@igalia.com>
  Date:   2025-07-16 (Wed, 16 Jul 2025)

  Changed paths:
    M Source/WTF/wtf/PlatformWPE.cmake
    A Source/WTF/wtf/android/LoggingAndroid.cpp
    M Source/WTF/wtf/unix/LoggingUnix.cpp

  Log Message:
  -----------
  [WTF][WPE] Read the log level string from an Android system property
https://bugs.webkit.org/show_bug.cgi?id=295175

Reviewed by Nikolas Zimmermann and Michael Catanzaro.

Read the value of the debug.WPEWebKit.log system property to determine
the value returned by WTF::logLevelString() to configure logging
channels on Android.

This allows using the "setprop" command line tool to configure logging:

  adb shell setprop debug.WPEWebKit.log 'Scrolling,Loading'

* Source/WTF/wtf/PlatformWPE.cmake:
* Source/WTF/wtf/android/LoggingAndroid.cpp: Copied from 
Source/WTF/wtf/unix/LoggingUnix.cpp.
(WTF::logLevelString):
* Source/WTF/wtf/unix/LoggingUnix.cpp: Guard with !OS(ANDROID); remove
unneeded <string.h> header inclusion, and make logLevel "const" as
drive-by fixes.
(WTF::logLevelString):

Canonical link: https://commits.webkit.org/297467@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to