/**
* Workaround: $logChannel must be static
* because Dice always creates a new LoggerManager object
- *
- * @var LoggerInterface|null
*/
private static string $logChannel = LogChannel::DEFAULT;
$this->config = $config;
$this->factory = $factory;
- $this->debug = (bool) $config->get('system', 'debugging') ?? false;
+ $this->debug = (bool) $config->get('system', 'debugging') ?? false;
$this->logLevel = (string) $config->get('system', 'loglevel') ?? LogLevel::NOTICE;
- $this->profiling = (bool) $config->get('system', 'profiling') ?? false;
+ $this->profiling = (bool) $config->get('system', 'profiling') ?? false;
}
public function changeLogChannel(string $logChannel): void