Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Zend_Log_Writer_Stream Class Reference

Public Member Functions

 __construct ($streamOrUrl, $mode=null)
 Class Constructor.
 
 shutdown ()
 Close the stream resource.
 
- Public Member Functions inherited from Zend_Log_Writer_Abstract
 addFilter ($filter)
 Add a filter specific to this writer.
 
 write ($event)
 Log a message to this writer.
 
 setFormatter (Zend_Log_Formatter_Interface $formatter)
 Set a new formatter for this writer.
 
 shutdown ()
 Perform shutdown activites such as closing open resources.
 

Static Public Member Functions

static factory ($config)
 Create a new instance of Zend_Log_Writer_Stream.
 

Protected Member Functions

 _write ($event)
 Write a message to the log.
 
- Protected Member Functions inherited from Zend_Log_Writer_Abstract
 _write ($event)
 Write a message to the log.
 

Protected Attributes

 $_stream = null
 
- Protected Attributes inherited from Zend_Log_Writer_Abstract
 $_filters = array()
 
 $_formatter
 

Additional Inherited Members

- Static Protected Member Functions inherited from Zend_Log_Writer_Abstract
static _parseConfig ($config)
 Validate and optionally convert the config to array.
 

Constructor & Destructor Documentation

__construct (   $streamOrUrl,
  $mode = null 
)

Class Constructor.

Parameters
array | string | resource$streamOrUrlStream or URL to open as a stream
string | null$modeMode, only applicable if a URL is given
Returns
void
Exceptions
Zend_Log_Exception

Member Function Documentation

_write (   $event)
protected

Write a message to the log.

Parameters
array$eventevent data
Returns
void
Exceptions
Zend_Log_Exception
static factory (   $config)
static

Create a new instance of Zend_Log_Writer_Stream.

Parameters
array | Zend_Config$config
Returns
Zend_Log_Writer_Stream

Implements Zend_Log_FactoryInterface.

shutdown ( )

Close the stream resource.

Returns
void

Member Data Documentation

$_stream = null
protected