When not debugging, skip E_NOTICE and lower.