Lines Matching refs:stream
35 protected $stream = null; variable in Mustache_Logger_StreamLogger
41 * @param resource|string $stream Resource instance or URL
44 public function __construct($stream, $level = Mustache_Logger::ERROR) argument
48 if (is_resource($stream)) {
49 $this->stream = $stream;
51 $this->url = $stream;
60 if (is_resource($this->stream)) {
61 fclose($this->stream);
123 if (!is_resource($this->stream)) {
128 $this->stream = fopen($this->url, 'a');
129 if (!is_resource($this->stream)) {
136 fwrite($this->stream, self::formatLine($level, $message, $context));