|
| same ($new_message, $old_message) |
|
| send ($filename, $line_no, $message) |
|
Protected Member Functions inherited from Handler |
| init () |
|
| publish ($property, $visibility=self::READABLE) |
| Publish a property (or hide it again). More...
|
|
| configure ($config) |
| Configure the object. More...
|
|
| _get ($key) |
| Default getter if no specific setter is defined, and the property is also not published (readable). More...
|
|
| _set ($key, $value) |
| Default setter if no specific setter is defined, and the property is also not published (writeable). More...
|
|
Definition at line 5 of file Stats.php.
◆ add()
add |
( |
|
$prio, |
|
|
|
$message, |
|
|
|
$context |
|
) |
| |
◆ same()
same |
( |
|
$new_message, |
|
|
|
$old_message |
|
) |
| |
|
protected |
◆ send()
send |
( |
|
$filename, |
|
|
|
$line_no, |
|
|
|
$message |
|
) |
| |
|
protected |
◆ $charThreshold
Minimum number of charactes to match, or:
Definition at line 9 of file Stats.php.
◆ $filename
◆ $from
Sender (defaults to default From address).
Definition at line 12 of file Stats.php.
◆ $message
$message = 'Message "[message]" ([filename]@[lineNo]) occurred [threshold] times in the last [ttl] seconds' |
◆ $percThreshold
Minimum percentage to match.
Definition at line 10 of file Stats.php.
◆ $subject
Subject for the mail (an asterisk is replaced with the host name).
Definition at line 14 of file Stats.php.
◆ $threshold
Send mail after this number of messages within the TTL.
Definition at line 11 of file Stats.php.
◆ $to
Send mail to this address (or array for multiple; defaults to default From address).
Definition at line 13 of file Stats.php.
◆ $ttl
Time to keep messages in memory.
Definition at line 8 of file Stats.php.
The documentation for this class was generated from the following file:
- /var/www/fred.local/vendor/rsi/fred/src/Rsi/Fred/Log/Handler/Stats.php