| 1 | <?php |
||
| 21 | class Postmark extends Plugin |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | public function init() |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Logs an informative message. |
||
| 41 | * |
||
| 42 | * @param $message |
||
| 43 | * @param string $category |
||
| 44 | */ |
||
| 45 | public static function info($message, $category = 'postmark') |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Logs a warning message. |
||
| 52 | * |
||
| 53 | * @param $message |
||
| 54 | * @param string $category |
||
| 55 | */ |
||
| 56 | public static function warning($message, $category = 'postmark') |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Logs an error message. |
||
| 63 | * |
||
| 64 | * @param $message |
||
| 65 | * @param string $category |
||
| 66 | */ |
||
| 67 | public static function error($message, $category = 'postmark') |
||
| 71 | } |
||
| 72 |