API Frame RegisterAllEvents

Flags the frame to receive all events.
 Frame:RegisterAllEvents()
==Details==
* This internally sets a flag to receive all events, so it cannot be used in conjunction with .
* It is not advisable to use this for anything except debugging or datamining purposes, as the incurred performance penalty may be quite large.
==Example==
Prints all events that fire.
local function OnEvent(self, event, ...)
	print(event, ...)
end
local f = CreateFrame("Frame")
f:RegisterAllEvents()
f:SetScript("OnEvent", OnEvent)
==Patch history==