summaryrefslogtreecommitdiff
path: root/it.class
diff options
context:
space:
mode:
authorUrban Müller2007-02-14 14:13:06 +0000
committerUrban Müller2007-02-14 14:13:06 +0000
commita0596f05996540106895436cac38ac074db39364 (patch)
tree966cb27bdb420d49681239edb326bc7dc284f51b /it.class
parentcc4ddb57a83e2c5c922f03e1151680b3e59b1263 (diff)
downloaditools-a0596f05996540106895436cac38ac074db39364.tar.gz
itools-a0596f05996540106895436cac38ac074db39364.tar.bz2
itools-a0596f05996540106895436cac38ac074db39364.zip
log all it::errors
Diffstat (limited to 'it.class')
-rw-r--r--it.class6
1 files changed, 3 insertions, 3 deletions
diff --git a/it.class b/it.class
index e02ba5f..02b764a 100644
--- a/it.class
+++ b/it.class
@@ -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);
}