Fully Qualified Name: | Zend\Log\Writer\ChromePhp |
Extends: | AbstractWriter |
Name | Description | Defined By |
---|---|---|
__construct() | Initializes a new instance of this class. | ChromePhp |
addFilter() | Add a filter specific to this writer. | AbstractWriter |
filterPlugin() | Get filter instance | AbstractWriter |
formatterPlugin() | Get formatter instance | AbstractWriter |
getChromePhp() | Gets the ChromePhpInterface instance that is used for logging. | ChromePhp |
getFilterPluginManager() | Get filter plugin manager | AbstractWriter |
getFormatterPluginManager() | Get formatter plugin manager | AbstractWriter |
setChromePhp() | Sets the ChromePhpInterface instance that is used for logging. | ChromePhp |
setConvertWriteErrorsToExceptions() | Set convert write errors to exception flag | AbstractWriter |
setFilterPluginManager() | Set filter plugin manager | AbstractWriter |
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 |
Initializes a new instance of this class.
Parameter Name | Type | Description |
---|---|---|
$instance | null|\ChromePhpInterface|array|\Traversable | An |
Returns:
Add a filter specific to this writer.
Parameter Name | Type | Description |
---|---|---|
$filter | int|string|\Filter\FilterInterface | |
$options | array|null |
Returns: \AbstractWriter
Get filter instance
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$options | array|null |
Returns: \Filter\FilterInterface
Get formatter instance
Parameter Name | Type | Description |
---|---|---|
$name | string | |
$options | array|null |
Returns: \Formatter\FormatterInterface
Gets the ChromePhpInterface instance that is used for logging.
Returns: \ChromePhpInterface
Get filter plugin manager
Returns: \LogFilterPluginManager
Get formatter plugin manager
Returns: \LogFormatterPluginManager
Sets the ChromePhpInterface instance that is used for logging.
Parameter Name | Type | Description |
---|---|---|
$instance | \ChromePhpInterface | The |
Returns: \ChromePhp
Set convert write errors to exception flag
Parameter Name | Type | Description |
---|---|---|
$convertErrors | bool |
Returns:
Set filter plugin manager
Parameter Name | Type | Description |
---|---|---|
$plugins | string|\LogFilterPluginManager |
Returns: self
Set a new formatter for this writer
Parameter Name | Type | Description |
---|---|---|
$formatter | string|\Formatter\FormatterInterface | |
$options | array|null |
Returns: self
Set formatter plugin manager
Parameter Name | Type | Description |
---|---|---|
$plugins | string|\LogFormatterPluginManager |
Returns: self
Perform shutdown activities such as closing open resources
Returns: void
Log a message to this writer.
Parameter Name | Type | Description |
---|---|---|
$event | array | log |
Returns: void