diff options
author | Urban Müller | 2017-07-04 14:26:31 +0200 |
---|---|---|
committer | Urban Müller | 2017-07-04 14:26:31 +0200 |
commit | d652d974d32ea87b29ae1d741bd36b6d91d5f210 (patch) | |
tree | eccd06ae7f3d79d9737c24212932ea4f6b0e6782 /it.class | |
parent | 4d3956ddba5aeb99655abfca0b1eba020afbefdd (diff) | |
download | itools-d652d974d32ea87b29ae1d741bd36b6d91d5f210.tar.gz itools-d652d974d32ea87b29ae1d741bd36b6d91d5f210.tar.bz2 itools-d652d974d32ea87b29ae1d741bd36b6d91d5f210.zip |
better docs
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -111,10 +111,11 @@ static function timerlog($label = '') /** - * Send verbose error report to browser or (if display_errors is off) by email to .diffnotice gods, file owner or SERVER_ADMIN + * If display_errors is on or stdout is a tty, shows error in page or on stdout respectively + * If display_errors is off, mails (with rate limiting) diagnostics to .diffnotice addresses or file owner or SERVER_ADMIN * @param $p either error title or assoc array of params, see below * @param $p['title'] error title, one line - * @param $p['body'] error body, multiline string or any data type (will be dumped) + * @param $p['body'] error body: multiline string or any data type (will be dumped) * @param $p['to'] comma separated recipient list * @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] |