system/Debug/Toolbar/Collectors/Logs.php
protected function collectLogs()
	{
		if (! is_null($this->data))
		{
			return $this->data;
		}

		return $this->data = Services::logger(true)->logCache ?? [];
	}
protected function collectLogs()
	{
		if (! is_null($this->data))
		{
			return $this->data;
		}

		return $this->data = Services::logger(true)->logCache ?? [];
	}
Ensures the data has been collected.