API Documentation

Log/Writer/Stream.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Writer
version
$Id: Stream.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Log_Writer_Stream

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Log_Writer_Stream

Extends from
Zend_Log_Writer_Abstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Log
subpackage
Writer
version
$Id: Stream.php 20096 2010-01-06 02:05:09Z bkarwin $
Properties
$_stream
Methods
__construct
factory
shutdown
_write

Description

Properties

$_stream

null|stream $_stream = 'null'

Holds the PHP stream to log to.

Details

$_stream
null|stream
visibility
protected
default
null
final
false
static
false

Methods

__construct

__construct( streamOrUrl $streamOrUrl, mode $mode = NULL ) :

Class Constructor

Arguments
$streamOrUrl
streamOrUrl
Stream or URL to open as a stream
$mode
mode
Mode, only applicable if a URL is given
Details
visibility
public
final
false
static
false

_write

_write( array $event ) : void

Write a message to the log.

Arguments
$event
array
event data
Details
visibility
protected
final
false
static
false

factory

factory( array|Zend_Config $config ) : Zend_Log_Writer_Mock

Create a new instance of Zend_Log_Writer_Mock

Arguments
$config
arrayZend_Config
Details
visibility
public
final
false
static
true
throws

shutdown

shutdown( ) : void

Close the stream resource.

Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.