diff options
author | Urban Müller | 2007-02-14 14:13:06 +0000 |
---|---|---|
committer | Urban Müller | 2007-02-14 14:13:06 +0000 |
commit | a0596f05996540106895436cac38ac074db39364 (patch) | |
tree | 966cb27bdb420d49681239edb326bc7dc284f51b | |
parent | cc4ddb57a83e2c5c922f03e1151680b3e59b1263 (diff) | |
download | itools-a0596f05996540106895436cac38ac074db39364.tar.gz itools-a0596f05996540106895436cac38ac074db39364.tar.bz2 itools-a0596f05996540106895436cac38ac074db39364.zip |
log all it::errors
-rw-r--r-- | it.class | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,7 +67,7 @@ function timerlog($label = '') * @param $to (optional) comma separated recipient list * @param named parameter id identifier of error. if given, only subsequent errors of same id will trigger message * @param named parameter timewindow number of seconds within which the second error must occur - * @param named parameter graceperiod numer of seconds within which additional errors are ignored + * @param named parameter graceperiod number of seconds within which additional errors are ignored */ function error($p = array(), $body = "", $to = "") { @@ -124,10 +124,10 @@ function error($p = array(), $body = "", $to = "") fputs($pipe, $body); pclose($pipe); } - - error_log("it::error: ".$title); } } + + error_log("it::error: ".$title); } |