| 1 | <?php |
||
| 21 | class Postmark extends Plugin |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | public function init() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Logs an informative message. |
||
| 44 | * |
||
| 45 | * @param $message |
||
| 46 | * @param string $category |
||
| 47 | */ |
||
| 48 | public static function info($message, $category = 'postmark') |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Logs a warning message. |
||
| 55 | * |
||
| 56 | * @param $message |
||
| 57 | * @param string $category |
||
| 58 | */ |
||
| 59 | public static function warning($message, $category = 'postmark') |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Logs an error message. |
||
| 66 | * |
||
| 67 | * @param $message |
||
| 68 | * @param string $category |
||
| 69 | */ |
||
| 70 | public static function error($message, $category = 'postmark') |
||
| 74 | |||
| 75 | } |
||
| 76 |