Interface Yiisoft\Profiler\Target\TargetInterface
| Implemented by | Yiisoft\Profiler\Target\AbstractTarget, Yiisoft\Profiler\Target\FileTarget, Yiisoft\Profiler\Target\LogTarget |
|---|
Target interface defines a profiling target.
The target receives profiling messages and is sending these to a certain medium or system. It may, as well, filter out messages it does not need.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| collect() | Processes the given log messages. | Yiisoft\Profiler\Target\TargetInterface |
| enable() | Enable or disable target. | Yiisoft\Profiler\Target\TargetInterface |
Method Details
Processes the given log messages.
| public abstract void collect ( Yiisoft\Profiler\Message[] $messages ) | ||
| $messages | Yiisoft\Profiler\Message[] |
Profiling messages to be processed. Each message has the following keys:
|
public function collect(array $messages): void;
Signup or Login in order to comment.