Class FirePhp

Summary

Fully Qualified Name: Zend\Log\Writer\FirePhp
Extends: AbstractWriter

Description

Methods

Name Description Defined By
__construct() Initializes a new instance of this class. FirePhp
addFilter() Add a filter specific to this writer. AbstractWriter
filterPlugin() Get filter instance AbstractWriter
formatterPlugin() Get formatter instance AbstractWriter
getFilterPluginManager() Get filter plugin manager AbstractWriter
getFirePhp() Gets the FirePhpInterface instance that is used for logging. FirePhp
getFormatterPluginManager() Get formatter plugin manager AbstractWriter
setConvertWriteErrorsToExceptions() Set convert write errors to exception flag AbstractWriter
setFilterPluginManager() Set filter plugin manager AbstractWriter
setFirePhp() Sets the FirePhpInterface instance that is used for logging. FirePhp
setFormatter() Set a new formatter for this writer AbstractWriter
setFormatterPluginManager() Set formatter plugin manager AbstractWriter
shutdown() Perform shutdown activities such as closing open resources AbstractWriter
write() Log a message to this writer. AbstractWriter

Method Details

__construct()

Initializes a new instance of this class.

Parameter Name Type Description
$instance null|\FirePhp\FirePhpInterface|array|\Traversable An

Returns:

addFilter()

Add a filter specific to this writer.

Parameter Name Type Description
$filter int|string|\Filter\FilterInterface
$options array|null

Returns: \AbstractWriter

filterPlugin()

Get filter instance

Parameter Name Type Description
$name string
$options array|null

Returns: \Filter\FilterInterface

formatterPlugin()

Get formatter instance

Parameter Name Type Description
$name string
$options array|null

Returns: \Formatter\FormatterInterface

getFilterPluginManager()

Get filter plugin manager

Returns: \LogFilterPluginManager

getFirePhp()

Gets the FirePhpInterface instance that is used for logging.

Returns: \FirePhp\FirePhpInterface

getFormatterPluginManager()

Get formatter plugin manager

Returns: \LogFormatterPluginManager

setConvertWriteErrorsToExceptions()

Set convert write errors to exception flag

Parameter Name Type Description
$convertErrors bool

Returns:

setFilterPluginManager()

Set filter plugin manager

Parameter Name Type Description
$plugins string|\LogFilterPluginManager

Returns: self

setFirePhp()

Sets the FirePhpInterface instance that is used for logging.

Parameter Name Type Description
$instance \FirePhp\FirePhpInterface A

Returns: \FirePhp

setFormatter()

Set a new formatter for this writer

Parameter Name Type Description
$formatter string|\Formatter\FormatterInterface
$options array|null

Returns: self

setFormatterPluginManager()

Set formatter plugin manager

Parameter Name Type Description
$plugins string|\LogFormatterPluginManager

Returns: self

shutdown()

Perform shutdown activities such as closing open resources

Returns: void

write()

Log a message to this writer.

Parameter Name Type Description
$event array log

Returns: void

Top