Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6521420c005ad3c90e20e164455f01041c83f5fc
      
https://github.com/WebKit/WebKit/commit/6521420c005ad3c90e20e164455f01041c83f5fc
  Author: Per Arne Vollan <[email protected]>
  Date:   2026-06-25 (Thu, 25 Jun 2026)

  Changed paths:
    M Source/WTF/wtf/Logger.cpp
    M Source/WTF/wtf/Logger.h

  Log Message:
  -----------
  Logging using os_log is incorrect in some cases
https://bugs.webkit.org/show_bug.cgi?id=317750
rdar://180418990

Reviewed by Chris Dumez and Jer Noble.

In some cases, an incorrect format string is being used, leading to incorrect 
logs.

This is caused by calling os_log in inline functions, which can lead to ODR 
violations. See rdar://145164014.

This is addressed by moving the use of os_log to the implementation file.

* Source/WTF/wtf/Logger.cpp:
(WTF::Logger::osLog):
* Source/WTF/wtf/Logger.h:
(WTF::Logger::log):
(WTF::Logger::logVerbose):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to