30 throw new \InvalidArgumentException(
31 "Expected a path to the logfile, if logging is enabled."
35 $this->path_to_logfile = $this->
normalizePath($path_to_logfile);
44 $p = preg_replace(
"/\\\\/",
"/", $p);
45 return preg_replace(
"%/+$%",
"", $p);
60 return $this->errorlog_dir;
An exception for terminatinating execution or to throw for unit testing.
normalizePath(?string $p)
__construct(bool $enabled, ?string $path_to_logfile, ?string $errorlog_dir)
A configuration for the setup.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...