| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 4 | abstract class AbstractLogger |
||
| 5 | { |
||
| 6 | abstract public function clear(); |
||
| 7 | |||
| 8 | abstract public function log($level, $message, $context = []); |
||
| 9 | |||
| 10 | public function debug($message, $context = []) |
||
| 13 | } |
||
| 14 | |||
| 15 | public function error($message, $context = []) |
||
| 18 | } |
||
| 19 | |||
| 20 | public function info($message, $context = []) |
||
| 21 | { |
||
| 22 | return $this->log(LogLevel::INFO, $message, $context); |
||
| 23 | } |
||
| 24 | |||
| 25 | public function warning($message, $context = []) |
||
| 28 | } |
||
| 29 | } |
||
| 30 |