/** * Checks if a logger exists * * @param string|null $name * @return bool */ public function hasLogger($name = null) { require_once $this->getPathinfo()->getRootLib() . '/IfwPsn/Wp/Plugin/Logger.php'; return IfwPsn_Wp_Plugin_Logger::hasInstance($this, $name); }