fixed wrong visibility of Plugin::logError