public function logCore(Core $core) { $this->logHeading('Spires booted'); $this->logDebug("Providers:"); foreach ($core->getLoadedProviders() as $provider => $active) { $this->logDebug(" - " . $provider); } $this->logDebug("Plugins:"); foreach ($core->getPlugins() as $name => $plugin) { $this->logDebug(" - " . $name); } }