Zend\Log\Filter\Sample::__construct
Filters logging by sample rate.
Sample rate must be a float number between 0 and 1 included. If 0.5, only half of the values will be logged. If 0.1 only 1 among 10 values will be logged.
Signature
public function __construct([integer
$sampleRate = 1] )
Parameters
$sampleRate
— integer
Returns
- Priority