Methods
Initializes a new instance of this class.
__construct(null | \Zend\Log\Writer\FirePhp\FirePhpInterface | array | \Traversable $instance)
Set options for a writer. Accepted options are:
- filters: array of filters to add to this filter
- formatter: formatter for this writer
Parameters
Exceptions
Get filter instance
filterPlugin(string $name, array $options) : \Zend\Log\Filter\FilterInterface
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::filterPlugin() |
Parameters
$name
string
$options
arraynull
Returns
Get filter plugin manager
getFilterPluginManager() : \Zend\Log\Writer\FilterPluginManager
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::getFilterPluginManager() |
Returns
Set convert write errors to exception flag
setConvertWriteErrorsToExceptions(bool $convertErrors)
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::setConvertWriteErrorsToExceptions() |
Parameters
$convertErrors
bool
Set filter plugin manager
setFilterPluginManager(string | \Zend\Log\Writer\FilterPluginManager $plugins) : \Zend\Log\Writer\self
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::setFilterPluginManager() |
Parameters
Exceptions
Returns
\Zend\Log\Writer\self
Sets the FirePhpInterface instance that is used for logging.
setFirePhp(\Zend\Log\Writer\FirePhp\FirePhpInterface $instance) : \Zend\Log\Writer\FirePhp
Perform shutdown activities such as closing open resources
shutdown() : void
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::shutdown() |
Log a message to this writer.
write(array $event) : void
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::write() |
Parameters
$event
array
log data event
Write a message to the log.
doWrite(array $event) : void
Properties
Use Zend\Stdlib\ErrorHandler to report errors during calls to write
$convertWriteErrorsToExceptions : bool
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::$$convertWriteErrorsToExceptions |
Error level passed to Zend\Stdlib\ErrorHandler::start for errors reported during calls to write
$errorsToExceptionsConversionLevel : bool
Inherited
inherited_from |
\Zend\Log\Writer\AbstractWriter::$$errorsToExceptionsConversionLevel |