Tests/Fixtures/ErrorHandler.php
/**
     * Writes the record down to the log of the implementing handler
     *
     * @param array $record
     *
     * @return void
     */
Writes the record down to the log of the implementing handler
@param array $record

@return void
Writes the record down to the log of the implementing handler @param array $record @return void
protected function write(array $record): void
    {
        $dummy = static function () {
        };
        $closure = empty($this->assert) ? $dummy : $this->assert;
        $closure($record);
    }
protected function write ( array $ record ) : void { $ dummy = static function ( ) { } ; $ closure = empty ( $ this -> assert ) ? $ dummy : $ this -> assert ; $ closure ( $ record ) ; }
Writes the record down to the log of the implementing handler
 @param array $record
Writes the record down to the log of the implementing handler @param array $record