1 | <?php |
||
18 | class MonologLogger implements LoggerInterface |
||
19 | { |
||
20 | /** |
||
21 | * @var \Psr\Log\LoggerInterface |
||
22 | */ |
||
23 | private $logger; |
||
24 | |||
25 | private static $ignoreProperties = array('description', 'id', 'level'); |
||
26 | |||
27 | public function __construct(\Psr\Log\LoggerInterface $logger) |
||
31 | |||
32 | public function log(AuditLog $event = NULL) |
||
40 | |||
41 | /** |
||
42 | * @param \ReflectionObject $refObject |
||
43 | * |
||
44 | * @return ReflectionProperty[] |
||
45 | */ |
||
46 | protected function getAllProperties(\ReflectionObject $refObject) |
||
50 | |||
51 | /** |
||
52 | * @param AuditLog $event |
||
53 | * |
||
54 | * @return array |
||
55 | */ |
||
56 | protected function getContextArray(AuditLog $event) |
||
77 | } |
||
78 |