Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function handle(Event $event) : void |
||
29 | { |
||
30 | |||
31 | $authData = $event->getInfo(); |
||
32 | |||
33 | $fields = [ |
||
34 | date('Y-m-d H:i:s'), |
||
35 | json_encode(Application::instance()->getRequest()->getServerParams()), |
||
36 | $event->getName(), |
||
37 | $authData['user'], |
||
38 | $authData['password'] |
||
39 | ]; |
||
40 | |||
41 | error_log(implode('|', $fields) . "\n", 3, $this->logFile); |
||
42 | } |
||
44 |