| 1 | <?php |
||
| 18 | trait SentryHelperTrait |
||
| 19 | { |
||
| 20 | use BaseLoggerTrait; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Send exception to Sentry. |
||
| 24 | * |
||
| 25 | * @param \Exception $e Exception |
||
| 26 | */ |
||
| 27 | protected function sendExceptionToSentry(\Exception $e) |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Send message to Sentry. |
||
| 38 | * |
||
| 39 | * @param string $message Message |
||
| 40 | * @param string $level Level |
||
| 41 | */ |
||
| 42 | protected function sendMessageToSentry($message, $level) |
||
| 50 | } |
||
| 51 |