2085. Class

2085.1. Zend\Log\Writer\Stream

2085.1.1. Methods

2085.1.1.1. __construct

__construct()

Constructor

Parameters:
  • string|resource|array|Traversable – Stream or URL to open as a stream
  • string|null – Mode, only applicable if a URL is given
  • null|string – Log separator string
Return type:

Stream

Throws :

ExceptionInvalidArgumentException

Throws :

ExceptionRuntimeException

2085.1.1.2. doWrite

doWrite()

Write a message to the log.

Parameters:array – event data
Return type:void
Throws :ExceptionRuntimeException

2085.1.1.3. setLogSeparator

setLogSeparator()

Set log separator string

Parameters:string
Return type:Stream

2085.1.1.4. getLogSeparator

getLogSeparator()

Get log separator string

Return type:string

2085.1.1.5. shutdown

shutdown()

Close the stream resource.

Return type:void

Project Versions

Table Of Contents

Previous topic

2084. Class

Next topic

2086. Class

This Page