Logging macros are sensitive to pal/Logging.h vs Logging.h include order
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jun 2018 18:20:31 +0000 (18:20 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Jun 2018 18:20:31 +0000 (18:20 +0000)
commitde0c8ef6d5e3445dc66a6aa47269577c555847df
tree17e40ed5e7e2320c783461aa5201211e587abfe8
parent5b58b8acf2dd8d884f9795268dd9f85bb3151ad1
Logging macros are sensitive to pal/Logging.h vs Logging.h include order
https://bugs.webkit.org/show_bug.cgi?id=185893

Reviewed by Zalan Bujtas.

Remove unused functionality from pal/Logging code until we need it. Primarily this removes the
#define LOG_CHANNEL_PREFIX from pal/Logging.h, which caused include-order problems with unified sources.

Future work should move shared logging code up to WTF (or into PAL).

* PAL.xcodeproj/project.pbxproj:
* pal/CMakeLists.txt:
* pal/LogInitialization.h: Removed.
* pal/Logging.cpp:
(PAL::isLogChannelEnabled): Deleted.
(PAL::setLogChannelToAccumulate): Deleted.
(PAL::initializeLogChannelsIfNecessary): Deleted.
* pal/Logging.h:
* pal/cocoa/LoggingCocoa.mm: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/PAL.xcodeproj/project.pbxproj
Source/WebCore/PAL/pal/CMakeLists.txt
Source/WebCore/PAL/pal/LogInitialization.h [deleted file]
Source/WebCore/PAL/pal/Logging.cpp
Source/WebCore/PAL/pal/Logging.h
Source/WebCore/PAL/pal/cocoa/LoggingCocoa.mm [deleted file]