Issue Bug Closed

#19669Provide $severity in t3lib_div::sysLog() Hook

Fabrizio Branca 12/02/08, 15:38 updated 08/06/10, 13:24

Description

The severity of the syslog entry should be passed to the hooks processed in t3lib_div::sysLog(). This can be easily done by changing the $params array

from

$params = array(‘msg’=>$msg, ‘extKey’=>$extKey, ‘backTrace’=>debug_backtrace());

to

$params = array(‘msg’=>$msg, ‘extKey’=>$extKey, ‘backTrace’=>debug_backtrace(), ‘severity’=>$severity);

(issue imported from #M9876)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.