From 53cc3c345d373fba1e5424479b8864e23252555b Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Fri, 6 Jan 2017 14:34:17 +0100 Subject: better docs --- it.class | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/it.class b/it.class index 0f17e37..0b4f44a 100644 --- a/it.class +++ b/it.class @@ -116,13 +116,13 @@ static function timerlog($label = '') * @param $p['title'] error title, one line * @param $p['body'] error body, multiline string or any data type (will be dumped) * @param $p['to'] comma separated recipient list - * @param $p['id'] identifier of error. if given, only subsequent errors of same id will trigger message - * @param $p['graceperiod'] number of seconds within which additional errors are ignored if id is set [60] - * @param $p['timewindow'] number of seconds after graceperiod within which the second error must occur if id is set [25*3600] + * @param $p['id'] id of error. if given, first error is suppressed and second has to occur after 'graceperiod' within 'timewindow' + * @param $p['graceperiod'] in seconds. see 'id' [60] + * @param $p['timewindow'] in seconds. see 'id' [25*3600] + * @param $p['blockmailid'] block mail for $p['blockmail'] seconds with same id. Default: $p['to'] + * @param $p['blockmail'] number of seconds to block mails after having sent a mail [3600] * @param $p['backtraceskip'] number of stack levels to drop * @param $p['skipfiles'] files to skip in backtrace - * @param $p['blockmail'] number of seconds to block mails after having sent a mail [3600] - * @param $p['blockmailid'] block mail for $p['blockmail'] seconds with same id. Default: $p['to'] * @param $p['okstate'] give current ok label and ok state, e.g. telresult=1 for working. see failcount * @param $p['failcount'] give number of consecutive okstate failures needed for creating an error [2] * @param $p['omitdebuginfo'] value 1 omits long stack and var dumps, value 2 also omits trace and url -- cgit v1.2.3