3declare(strict_types=1);
23 throw new \InvalidArgumentException(
24 "Expected a path to the logfile, if logging is enabled."
28 $this->path_to_logfile = $this->
normalizePath($path_to_logfile);
37 $p = preg_replace(
"/\\\\/",
"/", $p);
38 return preg_replace(
"%/+$%",
"", $p);
string $path_to_errorlogfiles
normalizePath(?string $p)
__construct(bool $enabled, ?string $path_to_logfile, ?string $errorlog_dir)
A configuration for the setup.