| 1 | <?php |
||
| 18 | class Monolog extends AbstractProcessingHandler implements DispatcherAwareInterface, LoggerInterface |
||
| 19 | { |
||
| 20 | use DispatcherAwareTrait, LoggerTrait; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Logs with an arbitrary level. |
||
| 24 | * |
||
| 25 | * @param mixed $level |
||
| 26 | * @param string $message |
||
| 27 | * @param array $context |
||
| 28 | * @return null |
||
| 29 | */ |
||
| 30 | 2 | public function log($level, $message, array $context = array()) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Writes the record down to the log of the implementing handler |
||
| 37 | * |
||
| 38 | * @param array $record |
||
| 39 | * @return void |
||
| 40 | */ |
||
| 41 | 2 | protected function write(array $record) |
|
| 45 | } |
||
| 46 |