Added feature #9876: Provide $severity in t3lib_div::sysLog() Hook (Thanks to Michael...
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 24 Apr 2009 17:08:22 +0000 (17:08 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 24 Apr 2009 17:08:22 +0000 (17:08 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5355 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_div.php

index f0fcc0a..767ac31 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2009-04-24  Christian Kuhn  <lolli@schwarzbu.ch>
 
+       * Added feature #9876: Provide $severity in t3lib_div::sysLog() Hook (Thanks to Michael Stucki)
        * Fixed bug #10823: IRRE long titles on groupdb fields are displayed wrong (<span title) (Thanks to Nabil Saleh)
 
 2009-04-24  Patrick Broens  <patrick@patrickbroens.nl>
index bdadbba..70918c3 100644 (file)
@@ -5185,7 +5185,7 @@ final class t3lib_div {
 
                        // do custom logging
                if (is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog'])) {
-                       $params = array('msg'=>$msg, 'extKey'=>$extKey, 'backTrace'=>debug_backtrace());
+                       $params = array('msg'=>$msg, 'extKey'=>$extKey, 'backTrace'=>debug_backtrace(), 'severity'=>$severity);
                        $fakeThis = FALSE;
                        foreach ($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_div.php']['systemLog'] as $hookMethod)       {
                                t3lib_div::callUserFunction($hookMethod,$params,$fakeThis);