Package | system.logging |
---|---|
Inheritance | interface ILogFilter |
Subclasses | CChainedLogFilter, CLogFilter |
Since | 1.1.11 |
Source Code | framework/base/interfaces.php |
Method | Description | Defined By |
---|---|---|
filter() | This method should be implemented to perform actual filtering of log messages | ILogFilter |
abstract public void filter(array &$logs)
| ||
$logs | array | list of messages. Each array element represents one message with the following structure: array( [0] => message (string) [1] => level (string) [2] => category (string) [3] => timestamp (float, obtained by microtime(true)); |
This method should be implemented to perform actual filtering of log messages by working on the array given as the first parameter. Implementation might reformat, remove or add information to logged messages.
Signup or Login in order to comment.