| 1 | <?php |
||
| 29 | final class Logger extends Tracy\Logger |
||
| 30 | { |
||
| 31 | /** |
||
| 32 | * Logs message or exception to file and sends email notification. |
||
| 33 | * |
||
| 34 | * @param string|array $message |
||
| 35 | * @param int $priority one of constant self::INFO, WARNING, ERROR (sends email), EXCEPTION (sends email), CRITICAL (sends email) |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | public function log($message, $priority = self::INFO) : void |
||
| 52 | } |
||
| 53 |