Liuggio\StatsdClient\Monolog\Formatter\StatsDFormatter::__construct PHP Method

__construct() public method

public __construct ( string $format = null, boolean $logContext = true, boolean $logExtra = true, integer $numberOfWords = 2 )
$format string The format of the message
$logContext boolean If true add multiple rows containing Context information
$logExtra boolean If true add multiple rows containing Extra information
$numberOfWords integer The number of words to show.
    public function __construct($format = null, $logContext = true, $logExtra = true, $numberOfWords = 2)
    {
        $this->format = $format ?: static::SIMPLE_FORMAT;
        $this->numberOfWords = $numberOfWords;
        $this->logContext = $logContext;
        $this->logExtra = $logExtra;
        parent::__construct();
    }