#pragma once
#include <pal/LogMacros.h>
#include <wtf/Assertions.h>
#include <wtf/text/WTFString.h>
#if !LOG_DISABLED || !RELEASE_LOG_DISABLED
#ifndef LOG_CHANNEL_PREFIX
#define LOG_CHANNEL_PREFIX WebKit2Log
#endif
#ifdef __cplusplus
extern "C" {
#endif
#define WEBKIT2_LOG_CHANNELS(M) \
M(AdClickAttribution) \
M(Automation) \
M(AutomationInteractions) \
M(ActivityState) \
M(BackForward) \
M(BackForwardCache) \
M(CacheStorage) \
M(ContentObservation) \
M(ContextMenu) \
M(DiskPersistency) \
M(DragAndDrop) \
M(Fullscreen) \
M(Gamepad) \
M(IconDatabase) \
M(IndexedDB) \
M(IPC) \
M(ITPDebug) \
M(KeyHandling) \
M(Layers) \
M(Layout) \
M(Loading) \
M(LocalStorageDatabaseTracker) \
M(Media) \
M(MouseHandling) \
M(Network) \
M(NetworkCache) \
M(NetworkCacheSpeculativePreloading) \
M(NetworkCacheStorage) \
M(NetworkScheduling) \
M(NetworkSession) \
M(PerformanceLogging) \
M(Plugins) \
M(Printing) \
M(Process) \
M(ProcessSuspension) \
M(ProcessSwapping) \
M(ProximityNetworking) \
M(RemoteLayerTree) \
M(Resize) \
M(ResourceLoadStatistics) \
M(Scrolling) \
M(Selection) \
M(ServiceWorker) \
M(SessionState) \
M(Storage) \
M(StorageAPI) \
M(TextInput) \
M(UIHitTesting) \
M(ViewGestures) \
M(ViewState) \
M(ViewportSizing) \
M(VirtualMemory) \
M(VisibleRects) \
M(WebGL) \
M(WebRTC) \
WEBKIT2_LOG_CHANNELS(DECLARE_LOG_CHANNEL)
#undef DECLARE_LOG_CHANNEL
namespace WebKit {
WTFLogChannel* getLogChannel(const String&);
}
#ifdef __cplusplus
}
#endif
#endif // !LOG_DISABLED || !RELEASE_LOG_DISABLED