for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace GameScan\Core\Exceptions;
class Base extends \Exception
{
protected $logException = true;
public function __construct($message = "", $code = 0, \Exception $previous = null)
parent::__construct($message, $code, $previous);
if ($this->logException) {
\GameScan\Core\Tools\LoggerFactory::getLogger()->error("Exception thrown : " . $this);
}