| Fully Qualified Name: | CodeIgniter\Log\Handlers\ChromeLoggerHandler |
| Extends: | BaseHandler |
| Implements: | HandlerInterface |
Class ChromeLoggerHandler
Allows for logging items to the Chrome console for debugging. Requires the ChromeLogger extension installed in your browser.
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | ChromeLoggerHandler |
| canHandle() | Checks whether the Handler will handle logging items of this log Level. | BaseHandler |
| handle() | Handles logging the message. | ChromeLoggerHandler |
| sendLogs() | Attaches the header and the content to the passed in request object. | ChromeLoggerHandler |
| setDateFormat() | Stores the date format to use while logging messages. | BaseHandler |
Constructor
| Parameter Name | Type | Description |
|---|---|---|
| $config | array |
Returns:
Checks whether the Handler will handle logging items of this log Level.
| Parameter Name | Type | Description |
|---|---|---|
| $level | ||
| $level |
Returns: bool
Handles logging the message.
If the handler returns false, then execution of handlers will stop. Any handlers that have not run, yet, will not be run.
| Parameter Name | Type | Description |
|---|---|---|
| $message | ||
| $level | ||
| $message |
Returns: bool
Attaches the header and the content to the passed in request object.
| Parameter Name | Type | Description |
|---|---|---|
| $response | \ResponseInterface |
Returns:
Stores the date format to use while logging messages.
| Parameter Name | Type | Description |
|---|---|---|
| $format | string |
Returns: \HandlerInterface