It says it above your head in a speech bubble which I like because it grabs my attention immediately and won't get lost in the chat box.
If you want it printed in your chat box only it would be a slight modification.
PHP Code:
local f = CreateFrame("Frame")
f:SetScript("OnEvent",function(s,e,...)
s.pguid = s.pguid or UnitGUID("player")
if (select(2,...) == "SPELL_AURA_APPLIED") and (select(4,...) == s.pguid) and (select(12,...) == 108008) then
local absorbAmt = select(16,...)
if absorbAmt > 0 then
print(("Absorbing: %d"):format(absorbAmt))
end
end
end)
f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")