@@ -16,6 +16,9 @@ |
||
| 16 | 16 | */ |
| 17 | 17 | trait ExceptionLoggerTrait |
| 18 | 18 | { |
| 19 | + /** |
|
| 20 | + * @param string $message |
|
| 21 | + */ |
|
| 19 | 22 | abstract protected function logImpl($level, $message, array $context = array()); |
| 20 | 23 | |
| 21 | 24 | /** |
@@ -234,8 +234,7 @@ |
||
| 234 | 234 | try { |
| 235 | 235 | $this->close(); |
| 236 | 236 | $this->open(); |
| 237 | - } |
|
| 238 | - catch(Exception $ex) |
|
| 237 | + } catch(Exception $ex) |
|
| 239 | 238 | { |
| 240 | 239 | throw new ResetException($ex->getMessage(), array(), $ex->getCode(), $ex); |
| 241 | 240 | } |
@@ -259,8 +259,7 @@ |
||
| 259 | 259 | try { |
| 260 | 260 | $this->close(); |
| 261 | 261 | $this->open($this->fileName, $this->append); |
| 262 | - } |
|
| 263 | - catch(Exception $ex) |
|
| 262 | + } catch(Exception $ex) |
|
| 264 | 263 | { |
| 265 | 264 | throw new ResetException($ex->getMessage(), array(), $ex->getCode(), $ex); |
| 266 | 265 | } |