1 | <?php |
||
14 | class File extends AbstractAdapter |
||
15 | { |
||
16 | /** |
||
17 | * Filename |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $file = '/tmp/out.log'; |
||
22 | |||
23 | |||
24 | /** |
||
25 | * Filename |
||
26 | * |
||
27 | * @var resource |
||
28 | */ |
||
29 | protected $resource; |
||
30 | |||
31 | |||
32 | /** |
||
33 | * Set options |
||
34 | * |
||
35 | * @return AdapterInterface |
||
36 | */ |
||
37 | public function setOptions(? Iterable $config = null) : AdapterInterface |
||
58 | |||
59 | |||
60 | /** |
||
61 | * Log |
||
62 | * |
||
63 | * @param int $priority |
||
64 | * @param string $message |
||
65 | * @return bool |
||
66 | */ |
||
67 | public function log(string $priority, string $message): bool |
||
76 | } |
||
77 |