1 | <?php |
||
34 | class StreamHandler extends HandlerAbstract |
||
35 | { |
||
36 | /** |
||
37 | * stream |
||
38 | * |
||
39 | * @var resource |
||
40 | * @access protected |
||
41 | */ |
||
42 | protected $stream; |
||
43 | |||
44 | /** |
||
45 | * Constructor |
||
46 | * |
||
47 | * @param string|resource $stream the stream |
||
48 | * @param FormatterInterface $formatter |
||
49 | * @param bool $stopPropagation |
||
50 | * @access public |
||
51 | * @since 2.0.1 removed level param |
||
52 | */ |
||
53 | public function __construct( |
||
71 | |||
72 | /** |
||
73 | * {@inheritDoc} |
||
74 | */ |
||
75 | protected function write(LogEntryInterface $logEntry) |
||
83 | |||
84 | /** |
||
85 | * Open stream for writing |
||
86 | * |
||
87 | * @param string|resource $path |
||
88 | * @return resource|false |
||
89 | * @access protected |
||
90 | */ |
||
91 | protected function openStream(/*# string */ $path) |
||
101 | |||
102 | /** |
||
103 | * {@inheritDoc} |
||
104 | */ |
||
105 | public function close() |
||
111 | } |
||
112 |