| 1 | <?php /** MicroLoggerDriverInterface */ |
||
| 22 | abstract class LoggerDriver implements Adapter |
||
| 23 | { |
||
| 24 | /** @var array $supportedLevels supported log levels */ |
||
| 25 | protected $supportedLevels = []; |
||
| 26 | |||
| 27 | |||
| 28 | /** |
||
| 29 | * Constructor is a initialize logger |
||
| 30 | * |
||
| 31 | * @access public |
||
| 32 | * |
||
| 33 | * @param array $params configuration params |
||
| 34 | * |
||
| 35 | * @throws Exception |
||
| 36 | * @result void |
||
| 37 | */ |
||
| 38 | public function __construct(array $params = []) |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Check support level |
||
| 51 | * |
||
| 52 | * @access public |
||
| 53 | * |
||
| 54 | * @param integer $level level number |
||
| 55 | * |
||
| 56 | * @return bool |
||
| 57 | */ |
||
| 58 | public function isSupportedLevel($level) |
||
| 62 | } |
||
| 63 |