src/StreamLogger.php
public function setEol(string $eol) {
        if (strpos($eol, "\n") === false) {
            throw new \InvalidArgumentException('The EOL must include the "\n" character."', 500);
        }

        $this->eol = $eol;
        return $this;
    }
public function setEol(string $eol) {
        if (strpos($eol, "\n") === false) {
            throw new \InvalidArgumentException('The EOL must include the "\n" character."', 500);
        }

        $this->eol = $eol;
        return $this;
    }
public function setEol ( string $ eol ) { if ( strpos ( $ eol , "\n" ) === false ) { throw new \ InvalidArgumentException ( 'The EOL must include the "\n" character."' , 500 ) ; } $ this -> eol = $ eol ; return $ this ; }
Set the end of line string.

@param string $eol The end of line string to use.
@return $this
Set the end of line string .