| Fully Qualified Name: | CodeIgniter\Log\Handlers\BaseHandler |
| Implements: | HandlerInterface |
Base class for logging
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor | BaseHandler |
| canHandle() | Checks whether the Handler will handle logging items of this log Level. | BaseHandler |
| handle() | Handles logging the message. | BaseHandler |
| 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
Stores the date format to use while logging messages.
| Parameter Name | Type | Description |
|---|---|---|
| $format | string |
Returns: \HandlerInterface